aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/avio_reading.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-31 14:07:27 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-03 14:27:25 +0100
commitd9363b56a6b134e90fff8098cbd46a642f9cf99d (patch)
treeed20eb5c1a269a9fbba3276b1a67e055154e5f8a /doc/examples/avio_reading.c
parent9c341c6c92a0fc9c5bbecbd12e8bdd904678e4d5 (diff)
downloadffmpeg-d9363b56a6b134e90fff8098cbd46a642f9cf99d.tar.gz
avformat/apngdec: Check fcTL chunk length when reading header
Reading the header terminates when an fcTL chunk is encountered in which case read_header returned success without checking the length of said chunk. Yet when read_packet processes this chunk, it checks for the length to be 26 and errors out otherwise. So do so when reading the header, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/examples/avio_reading.c')
0 files changed, 0 insertions, 0 deletions