diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2011-09-24 18:23:38 +0200 |
---|---|---|
committer | Alexander Strasser <eclipse7@gmx.net> | 2011-09-25 17:16:44 +0200 |
commit | baad01d8b4bfe63c7c4e571ed553f7845d78d9c0 (patch) | |
tree | b9ebf10903eeac381aa7de201a24db9d9eab71cb /libavcodec/avpacket.c | |
parent | 715f259bf949b06df1b5ed0307606dc258754c99 (diff) | |
download | ffmpeg-baad01d8b4bfe63c7c4e571ed553f7845d78d9c0.tar.gz |
h264: improve checks before calling ff_h264_decode_extradata
The ff_h264_decode_extradata routine now checks for the buffer size
and pointer internally. This makes it possible to remove the external
checks in ff_h264_decode_init.
In decode_frame there was a size check missing because the buffer
gets tested prior to the invocation of ff_h264_decode_extradata().
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Diffstat (limited to 'libavcodec/avpacket.c')
0 files changed, 0 insertions, 0 deletions