aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/iec61883.c
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2014-07-05 22:24:43 -0700
committerAnton Khirnov <anton@khirnov.net>2014-07-08 17:40:07 +0000
commit95e91aaf335dd9c26a9101c38d4926e5271e7e00 (patch)
treea33290ba035fc19cb394d1d7f26987185a7500de /libavdevice/iec61883.c
parent40dd29653ab85812d21fa64e9a665ceb316701ad (diff)
downloadffmpeg-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