aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-05-22 21:59:49 +0300
committerMartin Storsjö <martin@martin.st>2020-05-22 22:00:03 +0300
commit638b5d51cf65b384e8632e650056ed0e62b16884 (patch)
tree3c57601b8f5962ec12d837b755955900e0e7c2bd
parentc116c127f9ccd18ff3cf038cfb65a284b01fe720 (diff)
downloadffmpeg-638b5d51cf65b384e8632e650056ed0e62b16884.tar.gz
movenc: Fix accidental leftover duplication from 1aec1fbcc595
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/movenc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index f9fc4d5c07..5d8dc4fd5d 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5508,9 +5508,7 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
par->codec_id == AV_CODEC_ID_H264 ||
par->codec_id == AV_CODEC_ID_HEVC ||
par->codec_id == AV_CODEC_ID_TRUEHD ||
- par->codec_id == AV_CODEC_ID_AC3 ||
- par->codec_id == AV_CODEC_ID_H264 ||
- par->codec_id == AV_CODEC_ID_HEVC) && !trk->vos_len &&
+ par->codec_id == AV_CODEC_ID_AC3) && !trk->vos_len &&
!TAG_IS_AVCI(trk->tag)) {
/* copy frame to create needed atoms */
trk->vos_len = size;