aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/interplayvideo.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 07:54:00 +0000
commitd3cfd7aff86ee3d449ca68aba21d67b9b2136a9b (patch)
tree47996b6e1f7b3628d400a42a6dad102b2991f931 /libavcodec/interplayvideo.c
parenta9aee08d900f686e966c64afec5d88a7d9d130a3 (diff)
downloadffmpeg-d3cfd7aff86ee3d449ca68aba21d67b9b2136a9b.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>
Diffstat (limited to 'libavcodec/interplayvideo.c')
0 files changed, 0 insertions, 0 deletions