ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Mar 20 23:50:55 
2024 -0300| [e04c638f5f2541d1dd4eb0cf68cd71c66199b5e7] | committer: James Almer

avformat/movenc: only compile avif_write_trailer() when the avif muxer is 
enabled

Signed-off-by: James Almer <jamr...@gmail.com>

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

 libavformat/movenc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 724a1eb673..029b08c0b0 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -8038,6 +8038,7 @@ static int mov_check_bitstream(AVFormatContext *s, 
AVStream *st,
     return ret;
 }
 
+#if CONFIG_AVIF_MUXER
 static int avif_write_trailer(AVFormatContext *s)
 {
     AVIOContext *pb = s->pb;
@@ -8093,6 +8094,7 @@ static int avif_write_trailer(AVFormatContext *s)
 
     return 0;
 }
+#endif
 
 #if CONFIG_TGP_MUXER || CONFIG_TG2_MUXER
 static const AVCodecTag codec_3gp_tags[] = {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to