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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue