mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
libavfilter/src_movie: fix which packet is reset
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1235e91b30
commit
87bc648930
@ -515,8 +515,8 @@ static int movie_push_frame(AVFilterContext *ctx, unsigned out_id)
|
||||
av_log(ctx, AV_LOG_WARNING, "Decode error: %s\n", av_err2str(ret));
|
||||
av_frame_free(&movie->frame);
|
||||
av_free_packet(&movie->pkt0);
|
||||
movie->pkt0.size = 0;
|
||||
movie->pkt0.data = NULL;
|
||||
movie->pkt.size = 0;
|
||||
movie->pkt.data = NULL;
|
||||
return 0;
|
||||
}
|
||||
if (!ret)
|
||||
|
Loading…
Reference in New Issue
Block a user