mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libvorbisenc: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0ccb31dcad
commit
bdd71abe5f
@ -305,7 +305,7 @@ static int oggvorbis_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
av_log(avctx, AV_LOG_ERROR, "error in vorbis_analysis_wrote()\n");
|
av_log(avctx, AV_LOG_ERROR, "error in vorbis_analysis_wrote()\n");
|
||||||
return vorbis_error_to_averror(ret);
|
return vorbis_error_to_averror(ret);
|
||||||
}
|
}
|
||||||
if ((ret = ff_af_queue_add(&s->afq, frame) < 0))
|
if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
} else {
|
} else {
|
||||||
if (!s->eof)
|
if (!s->eof)
|
||||||
|
Loading…
Reference in New Issue
Block a user