summaryrefslogtreecommitdiff
path: root/libavfilter/defaults.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-24 08:37:54 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-24 08:37:54 +0000
commit5a9dd3de63db95704708350bc1c5abb74944cda2 (patch)
tree01620897e5f2c0730a363319bbebf44a0a36b082 /libavfilter/defaults.c
parent3f1710e74fb2d433d9f065f5c7e8bee4b6674605 (diff)
Make avfilter_start_frame() invoke avfilter_get_video_buffer() on the
link rather than avfilter_default_get_video_buffer(). This is required as the buffer requested may be greater than the buffer allocated locally by avfilter_default_get_video_buffer(), for example if in filterchain there is a pad filter (like in "fifo,pad"). In that case the pad filter will try to write beyond the data of the allocated buffer, resulting in a crash. Originally committed as revision 24895 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/defaults.c')
0 files changed, 0 insertions, 0 deletions