aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorarch1t3cht <arch1t3cht@gmail.com>2024-03-28 02:56:37 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2024-04-16 16:36:22 +0100
commit5a856ac6e6a627402c1ff57a92fc478efb601131 (patch)
tree9b59e917d14091ca5fdb6da42364d640af681de4 /libavformat/aviobuf.c
parent6b6a0fc53df592183c69e518967841272ab4e862 (diff)
downloadffmpeg-5a856ac6e6a627402c1ff57a92fc478efb601131.tar.gz
avcodec/h264dec: Properly mark frames as recovered when draining
When decoding starts at a SEI recovery point very shortly before the end of the video stream, there can be frames which are decoded before the recovery point's frame is output and which will only be output once the draining has started. Previously, these frames would never be set as recovered. This commit copies the logic from h264_select_output_frame to send_next_delayed_frame to properly mark such frames as recovered. Fixes ticket #10936. Signed-off-by: arch1t3cht <arch1t3cht@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/aviobuf.c')
0 files changed, 0 insertions, 0 deletions