aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avpacket.c
diff options
context:
space:
mode:
authorAlexander Strasser <eclipse7@gmx.net>2011-09-24 18:23:38 +0200
committerAlexander Strasser <eclipse7@gmx.net>2011-09-25 17:16:44 +0200
commitbaad01d8b4bfe63c7c4e571ed553f7845d78d9c0 (patch)
treeb9ebf10903eeac381aa7de201a24db9d9eab71cb /libavcodec/avpacket.c
parent715f259bf949b06df1b5ed0307606dc258754c99 (diff)
downloadffmpeg-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