[FFmpeg-devel] [PATCH 30/36] fftools/ffmpeg_dec: deobfuscate subtitle decoding

Anton Khirnov anton at khirnov.net
Thu May 18 17:34:42 EEST 2023


Quoting Michael Niedermayer (2023-05-17 22:15:37)
> On Wed, May 17, 2023 at 12:20:23PM +0200, Anton Khirnov wrote:
> > It is currently handled in the same loop as audio and video, but this
> > obscures the actual flow, because only one iteration is ever performed
> > for subtitles.
> > 
> > Also, avoid a pointless packet reference.
> > ---
> >  fftools/ffmpeg_dec.c | 34 ++++++++++++++++++----------------
> >  1 file changed, 18 insertions(+), 16 deletions(-)
> 
> The following results in a really large file now: (i stoped it so maybe infinite loop)
> ./ffmpeg -f lavfi -i "movie=tickets/1332/Starship_Troopers.vob[out0+subcc]"  -vn -map s -y eia608.srt

This was a bug in ccaption decoder, fixed by Paul in c48eff209c.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list