aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-07 00:26:05 -0300
committerJames Almer <jamrial@gmail.com>2024-10-12 11:21:14 -0300
commit3c64d614c765a0c541fc99b67813be0b2c60406c (patch)
tree64bb8e2945a0f9949fcf2fbee6a679f125a3f311 /libavformat/movenc.c
parente2427a42231d0c9330fff197a44f53e6014f871c (diff)
downloadffmpeg-3c64d614c765a0c541fc99b67813be0b2c60406c.tar.gz
avcodec: deprecate v308 de/encoder
The vyu444 pixel format was recently added, so this lavc workaround is no longer needed. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 3d5bfa946e..ba0914ebff 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2618,8 +2618,8 @@ static int mov_write_video_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContex
|| (track->par->codec_id == AV_CODEC_ID_RAWVIDEO && track->par->format == AV_PIX_FMT_VYU444)
|| (track->par->codec_id == AV_CODEC_ID_RAWVIDEO && track->par->format == AV_PIX_FMT_UYVA)
|| (track->par->codec_id == AV_CODEC_ID_RAWVIDEO && track->par->format == AV_PIX_FMT_V30X)
- || track->par->codec_id == AV_CODEC_ID_V308
#if FF_API_V408_CODECID
+ || track->par->codec_id == AV_CODEC_ID_V308
|| track->par->codec_id == AV_CODEC_ID_V408
#endif
|| track->par->codec_id == AV_CODEC_ID_V410