[PATCH 7/9] Make the nut encoder fail if the the codec id is rawvideo and there is no rawvideo codec tag corresponding to the used pixel format.

Stefano Sabatini stefano.sabatini-lala
Wed Jun 2 19:25:51 CEST 2010


---
 libavformat/nut.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavformat/nut.c b/libavformat/nut.c
index 7a85961..992a335 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -32,6 +32,7 @@ const AVCodecTag ff_nut_subtitle_tags[] = {
 };
 
 const AVCodecTag ff_nut_video_tags[] = {
+    { CODEC_ID_RAWVIDEO, 0                         },
     { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 15 ) },
     { CODEC_ID_RAWVIDEO, MKTAG('B', 'G', 'R', 15 ) },
     { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', 16 ) },
-- 
1.7.1


--J2SCkAp4GZ/dPZZf--



More information about the ffmpeg-devel mailing list