diff mbox

[FFmpeg-devel,03/10] lavf/movenc: keep eac3_priv around; fixes eac3 in DASH

Message ID 20180314062445.89909-3-rodger.combs@gmail.com
State Withdrawn, archived
Headers show

Commit Message

Rodger Combs March 14, 2018, 6:24 a.m. UTC
DASH muxing sometimes calls mov_write_eac3_tag multiple times on the same stream.
We need to keep this data around so it's available in the second call, else we
won't write the data QuickTime needs.
---
 libavformat/movenc.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index accab417f6..b5ef09c4c7 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -554,7 +554,6 @@  static int mov_write_eac3_tag(AVIOContext *pb, MOVTrack *track)
 
 end:
     av_packet_unref(&info->pkt);
-    av_freep(&track->eac3_priv);
 
     return size;
 }