diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-30 05:25:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-31 12:17:06 +0200 |
commit | 45c350226696be9deae7c73d67fdc93f848f9a91 (patch) | |
tree | acc45637d964eeb2e28c382c3c16fa1674e467f1 /libavformat/rtp.c | |
parent | 4aa07d1a74289dcdf12ea65ac975b415e26e3801 (diff) | |
download | ffmpeg-45c350226696be9deae7c73d67fdc93f848f9a91.tar.gz |
avcodec/anm: Check extradata length before allocating frame
Then one doesn't need to free the frame in case the length turns out to
be insufficient.
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/rtp.c')
0 files changed, 0 insertions, 0 deletions