summaryrefslogtreecommitdiffstats
path: root/doc/examples/avio_reading.c
diff options
context:
space:
mode:
authorDale Curtis <[email protected]>2015-01-05 16:34:17 -0800
committerMichael Niedermayer <[email protected]>2015-01-09 17:18:40 +0100
commit54b76eb5951502d24618c335d0bb275f70d31f3c (patch)
treef5b41833dc88be7ab9f855b503689ced724d6cbe /doc/examples/avio_reading.c
parent0787163cf369f114862bc7402b8410ff32bdef37 (diff)
mov: Fix negative size calculation in mov_read_default().
The previous code assumed if an atom was marked with a 64-bit size extension, it actually had that data available. The new code verfies there's enough data in the atom for this to be done. Failure to verify causes total_size > atom.size which will result in negative size calculations later on. Found-by: Paul Mehta <[email protected]> Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 3ebd76a9c57558e284e94da367dd23b435e6a6d0) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'doc/examples/avio_reading.c')
0 files changed, 0 insertions, 0 deletions