Browse Source

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.
tags/n1.1
Anton Khirnov 12 years ago
parent
commit
c8977f6d26
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      avconv.c

+ 0
- 1
avconv.c View File

@@ -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)


Loading…
Cancel
Save