aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tak_parser.c
diff options
context:
space:
mode:
authorMarth64 <marth64@proxyid.net>2024-07-02 01:41:31 -0500
committerStefano Sabatini <stefasab@gmail.com>2024-07-13 17:17:36 +0200
commitf1abb754aaae7c74962940c75cae2edc51f7a2ba (patch)
treecaa74bc25892b1ea0721779ea5b5c2d2c603c468 /libavcodec/tak_parser.c
parentf37f86a774fab1f760efa920b797e2d3229c6e27 (diff)
downloadffmpeg-f1abb754aaae7c74962940c75cae2edc51f7a2ba.tar.gz
avformat/dvdvideodec: Fix incorrect padding cell trim logic
When -trim option is used (by default), padding cells at the beginning of the title are supposed to be ignored. The current implementation does the ignoring after we have locked on to the PGC navigation event stream, but does not set the PGC/PG state properly. This causes false positives and errors on some discs due to a search for a program stream cell that never succeeds. User would have to know to disable the -trim option to work around the issue. Simplify the logic and move it to the NAV packet event handling, in turn implementing the behaviour correctly and fixing the trim function for impacted discs. Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'libavcodec/tak_parser.c')
0 files changed, 0 insertions, 0 deletions