diff mbox

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

Message ID 20180313044648.40735-2-rodger.combs@gmail.com
State Superseded
Headers show

Commit Message

Rodger Combs March 13, 2018, 4:46 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


diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 353a42ae2c..d4bc4e8995 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -554,7 +554,6 @@  static int mov_write_eac3_tag(AVIOContext *pb, MOVTrack *track)
-    av_freep(&track->eac3_priv);
     return size;