You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
ffv1enc: propagate error code from write_extradata()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -904,7 +904,8 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
avctx->slices);
|
avctx->slices);
|
||||||
return AVERROR(ENOSYS);
|
return AVERROR(ENOSYS);
|
||||||
slices_ok:
|
slices_ok:
|
||||||
write_extradata(s);
|
if ((ret = write_extradata(s)) < 0)
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ret = ffv1_init_slice_contexts(s)) < 0)
|
if ((ret = ffv1_init_slice_contexts(s)) < 0)
|
||||||
|
Reference in New Issue
Block a user