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:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-11 11:56:42 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-12-11 11:56:42 +0400
commitb688a2847062186b2465fa321c01cdf88468ca05 (patch)
tree64ec867f078c3a2b49c32b8b8079af9ef3a65e3c /libavformat/astenc.c
parenta70b38d2dd0d3c9de6201e2921ea406276455b85 (diff)
astenc: fix assignment vs compare
Fixes CID747736 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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");