aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/icodec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-09-16 10:41:30 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-23 17:11:40 +0200
commite19551d16524b04d01b24962f385a17f87566c8e (patch)
treefc9a9d27af099fd4be2451caa3968e9c0808e2e1 /libavformat/icodec.c
parent75914b58228031044d2b6ddd49bfea11ece5ea7a (diff)
downloadffmpeg-e19551d16524b04d01b24962f385a17f87566c8e.tar.gz
lavc/decode: do not clear the frame discard flag in ff_decode_frame_props_from_pkt()
Only do it in reget_buffer(). The purpose of this clearing this flag is to prevent it for unintentionally persisting across multiple invocations of this function on one frame, however that is only a problem if the frame is not unreffed between uses, which is only the case with reget_buffer(). In other cases the caller may legitimately want to set the discard flag and should have the option of doing so.
Diffstat (limited to 'libavformat/icodec.c')
0 files changed, 0 insertions, 0 deletions