Commit ee979824 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/src_movie: Fix handling of packet size for video

See Ticket2556
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 87bc6489
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment