[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec utils.c,1.136,1.137

Michael Niedermayer CVS michael
Mon Apr 25 20:41:40 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv21582

Modified Files:
	utils.c 
Log Message:
print pix_fmt if its known instead of if the raw codec is used


Index: utils.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/utils.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- utils.c	25 Apr 2005 18:29:05 -0000	1.136
+++ utils.c	25 Apr 2005 18:41:38 -0000	1.137
@@ -725,7 +725,7 @@
         snprintf(buf, buf_size,
                  "Video: %s%s",
                  codec_name, enc->mb_decision ? " (hq)" : "");
-        if (enc->codec_id == CODEC_ID_RAWVIDEO) {
+        if (enc->pix_fmt != PIX_FMT_NONE) {
             snprintf(buf + strlen(buf), buf_size - strlen(buf),
                      ", %s",
                      avcodec_get_pix_fmt_name(enc->pix_fmt));





More information about the ffmpeg-cvslog mailing list