diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-25 21:47:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-25 21:51:34 +0200 |
commit | af165acefacd89196c003c24802fa3c494d54d3a (patch) | |
tree | 0be430fb3ba12c030185c43d7127884070ae0533 /libavformat/movenc.c | |
parent | c9e0f7a080c1eb29e89ea2ba163d6b790ce1ff20 (diff) | |
download | ffmpeg-af165acefacd89196c003c24802fa3c494d54d3a.tar.gz |
avformat/movenc: dont store invalid tapt atom
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 18910761c4..22b4ca6c98 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1986,7 +1986,7 @@ static int mov_write_trak_tag(AVIOContext *pb, MOVMuxContext *mov, mov_write_tapt_tag(pb, track); } } - if (is_clcp_track(track)) { + if (is_clcp_track(track) && st->sample_aspect_ratio.num) { mov_write_tapt_tag(pb, track); } } |