Commit af165ace authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/movenc: dont store invalid tapt atom

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c9e0f7a0
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment