[FFmpeg-cvslog] af_aresample: 10l fix, wrong timebase for next_pts.

Michael Niedermayer git at videolan.org
Fri May 18 04:52:57 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri May 18 03:51:37 2012 +0200| [db6ef054f55213eec440f6faa609abe61eaa9315] | committer: Michael Niedermayer

af_aresample: 10l fix, wrong timebase for next_pts.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=db6ef054f55213eec440f6faa609abe61eaa9315
---

 libavfilter/af_aresample.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index 0dc413d..a887684 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -183,7 +183,7 @@ static void filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamplesref
     outsamplesref->audio->nb_samples  = n_out;
 
     if(insamplesref->pts != AV_NOPTS_VALUE) {
-        aresample->next_pts = insamplesref->pts;
+        aresample->next_pts =
         outsamplesref->pts  = av_rescale_q(insamplesref->pts, inlink->time_base, outlink->time_base);
     } else{
         outsamplesref->pts  = AV_NOPTS_VALUE; //aresample->next_pts;



More information about the ffmpeg-cvslog mailing list