aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/avdevice.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-18 20:29:42 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-24 00:21:32 +0100
commit0ce702d9996490bcc6447e5330ec39f7293f4e7e (patch)
tree8e42a78a02e7836024fc2c70458b2ddc01f604fa /libavdevice/avdevice.c
parentda9eed79b9255c0b26110d731880a531fc7b22ef (diff)
downloadffmpeg-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 'libavdevice/avdevice.c')
0 files changed, 0 insertions, 0 deletions