Skip to content
Snippets Groups Projects
Commit b688a284 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

astenc: fix assignment vs compare


Fixes CID747736
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent a70b38d2
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment