FFmpeg/libavfilter
Anton Khirnov ddeb6eeeb1 afifo: fix request_samples on the last frame in certain cases
The current code can fail to return the last frame if it contains
exactly the requested number of samples.

Fixes the join filter test, which previously did not include the last
408 samples in most cases.

CC:libav-stable@libav.org

Signed-off-by: Diego Biurrun <diego@biurrun.de>
(cherry picked from commit 9bfc6e02ba)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>

Conflicts:
	libavfilter/fifo.c
	tests/fate/filter-audio.mak
2013-05-04 10:44:51 +02:00
..
x86 hqdn3d: Fix out of array read in LOWPASS 2013-03-16 07:58:07 +01:00
af_aformat.c Include libavutil/channel_layout.h instead of libavutil/audioconvert.h 2012-11-11 13:35:12 -05:00
af_amix.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
af_anull.c lavfi: convert input/ouput list compound literals to named objects 2012-10-10 22:26:12 +01:00
af_ashowinfo.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
af_asyncts.c asyncts: ignore min_delta only if first_pts is set 2012-12-13 18:51:56 -05:00
af_channelmap.c af_channelmap: sanity check input channel indices in all cases. 2013-04-18 21:59:28 +02:00
af_channelsplit.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
af_join.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
af_resample.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
af_volume.c x86: af_volume: add SSE2-optimized s16 volume scaling 2012-12-05 11:23:37 -05:00
af_volume.h x86: af_volume: add SSE2-optimized s16 volume scaling 2012-12-05 11:23:37 -05:00
allfilters.c cosmetics: Prettyprint codec/format/filter registration files 2012-12-28 19:18:13 +01:00
asink_anullsink.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
asrc_anullsrc.c Include libavutil/channel_layout.h instead of libavutil/audioconvert.h 2012-11-11 13:35:12 -05:00
audio.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
audio.h lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
avfilter.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
avfilter.h lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
avfiltergraph.c avfiltergraph: check for sws opts being non-NULL before using them. 2013-04-06 11:39:11 +02:00
avfiltergraph.h lavfi: remove disabled FF_API_GRAPH_AVCLASS cruft 2012-06-26 13:14:59 +02:00
buffer.c Include libavutil/channel_layout.h instead of libavutil/audioconvert.h 2012-11-11 13:35:12 -05:00
buffersink.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
buffersink.h doxygen: Fix function parameter names to match the code 2012-08-09 20:05:55 +02:00
buffersrc.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
buffersrc.h buffersrc: add const to the AVFrame* argument of av_buffersrc_write_frame() 2012-09-17 15:48:20 +02:00
drawutils.c lavfi: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:39 +02:00
drawutils.h Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
fifo.c afifo: fix request_samples on the last frame in certain cases 2013-05-04 10:44:51 +02:00
filtfmts.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
formats.c lavfi: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:39 +02:00
formats.h cosmetics: Consistently use C-style comments with multiple inclusion guards 2012-07-03 17:35:12 +02:00
gradfun.h Give all anonymously typedeffed structs in headers a name 2012-10-06 09:27:11 +02:00
graphparser.c avfiltergraph: check for sws opts being non-NULL before using them. 2013-04-06 11:39:11 +02:00
internal.h lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
libavfilter.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
Makefile avfilter: Compile FIFO filters unconditionally 2012-12-23 18:57:01 +01:00
split.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
version.h lavfi: add volume filter 2012-12-05 11:23:37 -05:00
vf_aspect.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_blackframe.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_boxblur.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_copy.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_crop.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_cropdetect.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_delogo.c vf_delogo: fix copying the input frame. 2013-02-07 07:18:56 +01:00
vf_drawbox.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_drawtext.c Remove pointless #undefs of previously forbidden functions. 2012-12-04 21:40:22 +01:00
vf_fade.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_fieldorder.c vf_fieldorder: require write permissions 2012-11-28 08:50:24 +01:00
vf_format.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_fps.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_frei0r.c Drop unnecessary 'l' length modifier when printfing double values. 2012-12-31 11:20:45 +01:00
vf_gradfun.c vf_gradfun: fix uninitialized variable use 2013-03-16 07:58:07 +01:00
vf_hflip.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_hqdn3d.c hqdn3d: Fix out of array read in LOWPASS 2013-03-16 07:58:07 +01:00
vf_libopencv.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_lut.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_null.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_overlay.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_pad.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_pixdesctest.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_scale.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_select.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_setpts.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_settb.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_showinfo.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_transpose.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_unsharp.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_vflip.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_yadif.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
video.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
video.h lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vsink_nullsink.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vsrc_color.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vsrc_movie.c Drop unnecessary 'l' length modifier when printfing double values. 2012-12-31 11:20:45 +01:00
vsrc_nullsrc.c lavfi: convert input/ouput list compound literals to named objects 2012-10-10 22:26:12 +01:00
vsrc_testsrc.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
yadif.h Give all anonymously typedeffed structs in headers a name 2012-10-06 09:27:11 +02:00