ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | Thu Sep 10 02:13:51 2020 +0200| [c97d91ecaeb40eefde3909143f36d323b7498e40] | committer: Andreas Rheinhardt
avfilter/src_movie: Remove unneeded resetting of AVPacket av_read_frame() already returns clean packets on error. Reviewed-by: Nicolas George <geo...@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c97d91ecaeb40eefde3909143f36d323b7498e40 --- libavfilter/src_movie.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 6e210d1df0..b9b940684d 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -495,7 +495,6 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id) } else { ret = av_read_frame(movie->format_ctx, &movie->pkt0); if (ret < 0) { - av_init_packet(&movie->pkt0); /* ready for flushing */ *pkt = movie->pkt0; if (ret == AVERROR_EOF) { movie->eof = 1; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".