Browse Source

avfilter/src_movie: Fix handling of packet size for video

See Ticket2556

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
ee97982408
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/src_movie.c

+ 1
- 1
libavfilter/src_movie.c View File

@@ -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…
Cancel
Save