aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/split.c
diff options
context:
space:
mode:
authorScott Theisen <scott.the.elm@gmail.com>2024-12-14 16:49:16 -0500
committerMarth64 <marth64@proxyid.net>2025-01-08 00:03:47 -0600
commit8ad2d1919fdf8a33f72761799367293bbb379b55 (patch)
tree9cd281ca76780e3bd6883a78f1775ea115db4b5d /libavfilter/split.c
parent9305a1edcaf74d7ceaa52e8f563402287ab9b615 (diff)
downloadffmpeg-8ad2d1919fdf8a33f72761799367293bbb379b55.tar.gz
libavcodec/mpeg12dec: append CC data to a53_buf_ref
In mpeg_decode_a53_cc() only the A/53 part 4 CC data ("GA94") is saved between frames. The other formats incorrectly created a larger buffer than they use since a705bcd763e344fac191e157ffeddc285388b7fa because they did not append to the previous data. The a53_buf_ref is added to the frame in mpeg_field_start() which will only be called in decode_chunks() if not all of the picture data slices are skipped. For these formats, utilize the data added to the buffer in case frames are skipped (concatenating the CC data until a frame can be exported), in a similar fashion to the A/53 part 4 logic. Reviewed-by: Marth64 <marth64@proxyid.net> Signed-off-by: Marth64 <marth64@proxyid.net>
Diffstat (limited to 'libavfilter/split.c')
0 files changed, 0 insertions, 0 deletions