mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avformat/movenc: dont store invalid tapt atom
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c9e0f7a080
commit
af165acefa
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user