[FFmpeg-cvslog] avfilter/src_movie: Fix handling of packet size for video

Michael Niedermayer git at videolan.org
Wed Jun 26 13:47:20 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jun 26 13:32:55 2013 +0200| [ee97982408c83766a3dcb235a673761da629cf99] | committer: Michael Niedermayer

avfilter/src_movie: Fix handling of packet size for video

See Ticket2556

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

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

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

diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index 1c4fd5a..dfb4289 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -519,7 +519,7 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
         movie->pkt.data = NULL;
         return 0;
     }
-    if (!ret)
+    if (!ret || st->st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
         ret = pkt->size;
 
     pkt->data += ret;



More information about the ffmpeg-cvslog mailing list