changeset 1071:3f594a0fc976 libavformat

assing correct codec_id for mjpegb
author bcoudurier
date Tue, 09 May 2006 22:07:49 +0000
parents 26d75e74c7b7
children a06dd48eaba8
files mov.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Tue May 09 12:34:35 2006 +0000
+++ b/mov.c	Tue May 09 22:07:49 2006 +0000
@@ -19,7 +19,7 @@
 
 #include <limits.h>
 
-//#define DEBUG
+#define DEBUG
 
 #include "avformat.h"
 #include "avi.h"
@@ -116,7 +116,7 @@
     { CODEC_ID_MJPEG, MKTAG('j', 'p', 'e', 'g') }, /* PhotoJPEG */
     { CODEC_ID_MPEG1VIDEO, MKTAG('m', 'p', 'e', 'g') }, /* MPEG */
     { CODEC_ID_MJPEG, MKTAG('m', 'j', 'p', 'a') }, /* Motion-JPEG (format A) */
-    { CODEC_ID_MJPEG, MKTAG('m', 'j', 'p', 'b') }, /* Motion-JPEG (format B) */
+    { CODEC_ID_MJPEGB, MKTAG('m', 'j', 'p', 'b') }, /* Motion-JPEG (format B) */
     { CODEC_ID_MJPEG, MKTAG('A', 'V', 'D', 'J') }, /* MJPEG with alpha-channel (AVID JFIF meridien compressed) */
 /*    { CODEC_ID_MJPEG, MKTAG('A', 'V', 'R', 'n') }, *//* MJPEG with alpha-channel (AVID ABVB/Truevision NuVista) */
 /*    { CODEC_ID_GIF, MKTAG('g', 'i', 'f', ' ') }, *//* embedded gif files as frames (usually one "click to play movie" frame) */