Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/astenc.c')
-rw-r--r--libavformat/astenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/astenc.c b/libavformat/astenc.c
index 2c4afb7afb..6121a0153c 100644
--- a/libavformat/astenc.c
+++ b/libavformat/astenc.c
@@ -51,7 +51,7 @@ static int ast_write_header(AVFormatContext *s)
AVCodecContext *enc;
unsigned int codec_tag;
- if (s->nb_streams = 1) {
+ if (s->nb_streams == 1) {
enc = s->streams[0]->codec;
} else {
av_log(s, AV_LOG_ERROR, "only one stream is supported\n");