diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-21 20:54:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-21 20:55:23 +0200 |
commit | f399f826ee2d1e55bdae1495db9c1885589e4de1 (patch) | |
tree | 8b7ff1e049153ce0c8550bf4d596e1bc21d7b041 /libavfilter/af_resample.c | |
parent | ae215e2b42dd172f6bfd9f2dad44c9d5c11884bf (diff) | |
parent | c060d046aa2f89c0e601a2dcfbce53f0e36cf498 (diff) | |
download | ffmpeg-f399f826ee2d1e55bdae1495db9c1885589e4de1.tar.gz |
Merge commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498'
* commit 'c060d046aa2f89c0e601a2dcfbce53f0e36cf498':
af_resample: Set the number of samples in the last frame
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/af_resample.c')
-rw-r--r-- | libavfilter/af_resample.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_resample.c b/libavfilter/af_resample.c index d65d4bc64a..ff1f956e04 100644 --- a/libavfilter/af_resample.c +++ b/libavfilter/af_resample.c @@ -201,6 +201,7 @@ static int request_frame(AVFilterLink *outlink) return (ret == 0) ? AVERROR_EOF : ret; } + frame->nb_samples = ret; frame->pts = s->next_pts; return ff_filter_frame(outlink, frame); } |