diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2018-07-14 12:01:58 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2018-07-14 12:03:50 +0530 |
commit | 28ed68fa31776b43ce718a78c4d3078fd60cd7c9 (patch) | |
tree | cf2eb66ef14396ef81fa0f458a9d7cc486619179 /libavformat/movenc.c | |
parent | e5ff2c0c06188ff47706ce62db771b6b45f86b8c (diff) | |
download | ffmpeg-28ed68fa31776b43ce718a78c4d3078fd60cd7c9.tar.gz |
avformat/movenc: add reason for minf->hdlr in MOV only
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 804deef10a..54a248cf8e 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -2674,7 +2674,7 @@ static int mov_write_minf_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContext } else if (track->tag == MKTAG('g','p','m','d')) { mov_write_gmhd_tag(pb, track); } - if (track->mode == MODE_MOV) /* FIXME: Why do it for MODE_MOV only ? */ + if (track->mode == MODE_MOV) /* ISO 14496-12 8.4.3.1 specifies hdlr only within mdia or meta boxes */ mov_write_hdlr_tag(s, pb, NULL); mov_write_dinf_tag(pb); if ((ret = mov_write_stbl_tag(s, pb, mov, track)) < 0) |