From: Anton Khirnov Date: Wed, 31 Oct 2012 20:15:41 +0000 (+0100) Subject: avconv: do not free muxed packet on streamcopy. X-Git-Tag: v9_beta3~398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8977f6d268462e237cee38be6159c7bb701c62e;p=platform%2Fupstream%2Flibav.git avconv: do not free muxed packet on streamcopy. The packet belongs to lavf, the caller must not free it or access it in any other way. No change in practice, since destruct is set to NULL anyway. --- diff --git a/avconv.c b/avconv.c index d0902a6c9..964847a48 100644 --- a/avconv.c +++ b/avconv.c @@ -1045,7 +1045,6 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p write_frame(of->ctx, &opkt, ost); ost->st->codec->frame_number++; - av_free_packet(&opkt); } static void rate_emu_sleep(InputStream *ist)