[FFmpeg-cvslog] lavf/movenc: Do not print an error when muxing gray8 rawvideo.

Carl Eugen Hoyos git at videolan.org
Sat Nov 5 01:44:46 EET 2016


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov  5 00:41:16 2016 +0100| [222f59afd1cf900aaf4ac42ad9d5fc445d554d6a] | committer: Carl Eugen Hoyos

lavf/movenc: Do not print an error when muxing gray8 rawvideo.

This was fixed in 9a2778082121ea44d06a2f00f822ea99109c7fd8

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

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

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 6228192..efa050e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1427,6 +1427,7 @@ static int mov_get_rawvideo_codec_tag(AVFormatContext *s, MOVTrack *track)
                                   track->par->bits_per_coded_sample);
     if (tag == MKTAG('r','a','w',' ') &&
         track->par->format != pix_fmt &&
+        track->par->format != AV_PIX_FMT_GRAY8 &&
         track->par->format != AV_PIX_FMT_NONE)
         av_log(s, AV_LOG_ERROR, "%s rawvideo cannot be written to mov, output file will be unreadable\n",
                av_get_pix_fmt_name(track->par->format));



More information about the ffmpeg-cvslog mailing list