[FFmpeg-cvslog] r13156 - trunk/libavcodec/dpcm.c

diego subversion
Thu May 15 13:31:17 CEST 2008


Author: diego
Date: Thu May 15 13:31:14 2008
New Revision: 13156

Log:
DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it


Modified:
   trunk/libavcodec/dpcm.c

Modified: trunk/libavcodec/dpcm.c
==============================================================================
--- trunk/libavcodec/dpcm.c	(original)
+++ trunk/libavcodec/dpcm.c	Thu May 15 13:31:14 2008
@@ -294,7 +294,7 @@ static int dpcm_decode_frame(AVCodecCont
     return buf_size;
 }
 
-#define DPCM_DECODER(id, name)                  \
+#define DPCM_DECODER(id, name, long_name_)      \
 AVCodec name ## _decoder = {                    \
     #name,                                      \
     CODEC_TYPE_AUDIO,                           \
@@ -304,9 +304,10 @@ AVCodec name ## _decoder = {            
     NULL,                                       \
     NULL,                                       \
     dpcm_decode_frame,                          \
+    .long_name = long_name_,                    \
 };
 
-DPCM_DECODER(CODEC_ID_INTERPLAY_DPCM, interplay_dpcm);
-DPCM_DECODER(CODEC_ID_ROQ_DPCM, roq_dpcm);
-DPCM_DECODER(CODEC_ID_SOL_DPCM, sol_dpcm);
-DPCM_DECODER(CODEC_ID_XAN_DPCM, xan_dpcm);
+DPCM_DECODER(CODEC_ID_INTERPLAY_DPCM, interplay_dpcm, "Interplay DPCM");
+DPCM_DECODER(CODEC_ID_ROQ_DPCM, roq_dpcm, "id RoQ DPCM");
+DPCM_DECODER(CODEC_ID_SOL_DPCM, sol_dpcm, "Sol DPCM");
+DPCM_DECODER(CODEC_ID_XAN_DPCM, xan_dpcm, "Xan DPCM");




More information about the ffmpeg-cvslog mailing list