diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2011-09-24 18:00:16 +0200 |
---|---|---|
committer | Alexander Strasser <eclipse7@gmx.net> | 2011-09-25 17:16:44 +0200 |
commit | 715f259bf949b06df1b5ed0307606dc258754c99 (patch) | |
tree | b0fd62aa9d4d5a3baf5c5a7f96e9116471b58cac /libavcodec/h264pred.c | |
parent | 424bcc46b5fb0d662e0fb9ad6319c5b9ef3d770f (diff) | |
download | ffmpeg-715f259bf949b06df1b5ed0307606dc258754c99.tar.gz |
h264: ff_h264_decode_extradata: check buffer args
The buffer size and pointer were not checked prior to testing the first
byte of the buffer. These were sometimes checked before calling, but it is
better to add it inside the function as it takes buf and size arguments.
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Diffstat (limited to 'libavcodec/h264pred.c')
0 files changed, 0 insertions, 0 deletions