You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/dvdsubdec: free subtitle rectangles if nothing is output
Fixes assertion failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -540,6 +540,7 @@ static int dvdsub_decode(AVCodecContext *avctx,
|
||||
|
||||
if (is_menu < 0) {
|
||||
no_subtitle:
|
||||
reset_rects(sub);
|
||||
*data_size = 0;
|
||||
|
||||
return buf_size;
|
||||
|
Reference in New Issue
Block a user