Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-11-01 00:15:41 +0400
committerAnton Khirnov <anton@khirnov.net>2012-11-02 21:28:56 +0400
commitc8977f6d268462e237cee38be6159c7bb701c62e (patch)
tree3fe437cca0907bc6c7b48448a312b5fbe4f7679f /avconv.c
parentb4dc6dccbaea08fc0d41e99b020ee1e0e9ff301b (diff)
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.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/avconv.c b/avconv.c
index d0902a6c9f..964847a488 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)