diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-11 23:09:37 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-09-16 11:22:42 +0300 |
commit | 85e8192b8593816c0445411a5bef5fc5363a9b6d (patch) | |
tree | 3ddfcb7b8eecbff73df9fcd6ff0e72d7d62cee45 /libavfilter/vf_gradfun.c | |
parent | 6fc8226e29055858f28973bb3d27b63b3b65e616 (diff) | |
download | ffmpeg-85e8192b8593816c0445411a5bef5fc5363a9b6d.tar.gz |
avpacket: Fix error checking in packet_alloc
Previously the wrong buffer pointer was checked, when buf
instead of *buf was checked. But checking the return value
instead is even better.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/vf_gradfun.c')
0 files changed, 0 insertions, 0 deletions