diff options
author | James Almer <jamrial@gmail.com> | 2015-06-08 17:19:25 -0300 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2015-06-09 10:07:11 +0200 |
commit | b380337020e271c5431aa8ef8f8e9dfda5e919b2 (patch) | |
tree | c1fbfa81c9424847ac777186cbd6cdf5997795cd /libavcodec/opus_silk.c | |
parent | 210921722bf828b3b895ebcbc34374e6c4452c6f (diff) | |
download | ffmpeg-b380337020e271c5431aa8ef8f8e9dfda5e919b2.tar.gz |
mpjpegdec: don't try to alloc an AVIOContext when probe is guaranteed to fail
The first check is done without the AVIOContext, so alloc it only if said check succeeds
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavcodec/opus_silk.c')
0 files changed, 0 insertions, 0 deletions