[FFmpeg-devel] fix for avcodec/dvdsub_parser

2022-10-30 Thread Aidan MacDonald
Hi, I was wondering if anyone has picked up this fix for DVD subtitles: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220930142009.5862-1-aidanmacdonald@gmail.com/ Regards, Aidan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://

[FFmpeg-devel] [PATCH] avcodec/dvdsub_parser: Fix length check for short packets

2022-09-30 Thread Aidan MacDonald
r. The subtitle stream is not correctly decoded after this point due to the garbage packet_len. Fixing this is pretty simple: fix the length check so packets less than 6 bytes long will not be mistakenly parsed as HD-DVD packets. Signed-off-by: Aidan MacDonald --- libavcodec/dvdsub_parser.c