diff options
author | Andrew Kelley <superjoe30@gmail.com> | 2014-07-05 22:24:43 -0700 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-07-08 17:40:07 +0000 |
commit | 95e91aaf335dd9c26a9101c38d4926e5271e7e00 (patch) | |
tree | a33290ba035fc19cb394d1d7f26987185a7500de /libavdevice/iec61883.c | |
parent | 40dd29653ab85812d21fa64e9a665ceb316701ad (diff) | |
download | ffmpeg-95e91aaf335dd9c26a9101c38d4926e5271e7e00.tar.gz |
af_compand: make sure request_frame always outputs at least one frame
This fixes a segmentation fault because request_frame in fifo.c assumes
that the call to ff_request_frame will populate fifo->root.next.
Before, it was possible for request_frame in af_compand to not do this,
resulting in a null pointer access. Now, request_frame in af_compand
always will return at least one frame or an error, as per the API
specifications in avfilter.h for request_frame.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit d3cfd7aff86ee3d449ca68aba21d67b9b2136a9b)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavdevice/iec61883.c')
0 files changed, 0 insertions, 0 deletions