mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
avcodec/libvorbisenc: Cleanup on error
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -328,7 +328,7 @@ static av_cold int libvorbis_encode_init(AVCodecContext *avctx)
|
||||
}
|
||||
|
||||
if ((ret = libvorbis_get_priming_samples(&s->vi, avctx)))
|
||||
return ret;
|
||||
goto error;
|
||||
|
||||
avctx->frame_size = LIBVORBIS_FRAME_SIZE;
|
||||
ff_af_queue_init(avctx, &s->afq);
|
||||
|
||||
Reference in New Issue
Block a user