[FFmpeg-cvslog] movenc: Fix accidental leftover duplication from 1aec1fbcc595

Martin Storsjö git at videolan.org
Fri May 22 22:00:39 EEST 2020


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri May 22 21:59:49 2020 +0300| [638b5d51cf65b384e8632e650056ed0e62b16884] | committer: Martin Storsjö

movenc: Fix accidental leftover duplication from 1aec1fbcc595

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=638b5d51cf65b384e8632e650056ed0e62b16884
---

 libavformat/movenc.c | 4 +---
 1 file changed, 1 insertion(+), 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;



More information about the ffmpeg-cvslog mailing list