You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/src_movie: Fix handling of packet size for video
See Ticket2556 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -519,7 +519,7 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
|
|||||||
movie->pkt.data = NULL;
|
movie->pkt.data = NULL;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (!ret)
|
if (!ret || st->st->codec->codec_type == AVMEDIA_TYPE_VIDEO)
|
||||||
ret = pkt->size;
|
ret = pkt->size;
|
||||||
|
|
||||||
pkt->data += ret;
|
pkt->data += ret;
|
||||||
|
Reference in New Issue
Block a user