diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-18 20:29:42 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-24 00:21:32 +0100 |
commit | 0ce702d9996490bcc6447e5330ec39f7293f4e7e (patch) | |
tree | 8e42a78a02e7836024fc2c70458b2ddc01f604fa /libavutil/sh4/bswap.h | |
parent | da9eed79b9255c0b26110d731880a531fc7b22ef (diff) | |
download | ffmpeg-0ce702d9996490bcc6447e5330ec39f7293f4e7e.tar.gz |
avformat/ipmovie: Avoid reading packets during read_header
They will be discarded anyway because this can only happen
for invalid data. This already implies that the pkt won't be used
at all when parsing the very first chunk when reading the header,
so one can use NULL as argument and remove the av_packet_unref()
on error.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/sh4/bswap.h')
0 files changed, 0 insertions, 0 deletions