diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-26 13:32:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-06-26 13:46:19 +0200 |
commit | ee97982408c83766a3dcb235a673761da629cf99 (patch) | |
tree | b506d7ce043c798e5f6d416f6aa9c2ad56b44615 | |
parent | 87bc6489308579f1515781581e0e700f9aa28f07 (diff) | |
download | ffmpeg-ee97982408c83766a3dcb235a673761da629cf99.tar.gz |
avfilter/src_movie: Fix handling of packet size for video
See Ticket2556
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/src_movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 1c4fd5ac63..dfb4289f3c 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; |