astenc: fix assignment vs compare
Fixes CID747736 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a70b38d2dd
commit
b688a28470
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user