diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-03-09 16:02:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-03-11 11:41:45 +0100 |
commit | adb4688bfb0652b2ffa5bc29e53761e27e1a3b3e (patch) | |
tree | 4ad4639cdde90713d482ed01da39d838815a4216 /libavformat/yop.c | |
parent | 916bdc0f197de7ea24d30f3f3c284e4332dd3720 (diff) | |
download | ffmpeg-adb4688bfb0652b2ffa5bc29e53761e27e1a3b3e.tar.gz |
lavc/decode: stop mangling last_pkt_props->opaque
It is currently abused to store packet size, which breaks
AV_CODEC_FLAG_COPY_OPAQUE.
Use stream_index instead, which is unused in libavcodec and has the
same type as size.
Found-by: Martin Storsjö
(cherry picked from commit a3bf63c26e6197a9b6e490538667368530a9dcd3)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/yop.c')
0 files changed, 0 insertions, 0 deletions