summaryrefslogtreecommitdiff
path: root/libavfilter/src_movie.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-26 13:06:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-26 13:06:11 +0200
commit87bc6489308579f1515781581e0e700f9aa28f07 (patch)
treeb34f3577a065aefd0345bda11c9cd0c500b7fb6f /libavfilter/src_movie.c
parent1235e91b308044ca04f596cdb3a03107b68f4ce2 (diff)
libavfilter/src_movie: fix which packet is reset
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/src_movie.c')
-rw-r--r--libavfilter/src_movie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index a784f43b2b..1c4fd5ac63 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -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)