mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
87bc648930
commit
ee97982408
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user