diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-05-15 11:31:14 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-15 11:31:14 +0000 |
commit | 0f3af710de500e16bde55c55547f2064788fbc41 (patch) | |
tree | f91aaa0b814ab10bb3011c0cadf32005e437faea /libavcodec/dpcm.c | |
parent | 5cec11b612e40b89e8c4f55f82ad0f2c953809c4 (diff) | |
download | ffmpeg-0f3af710de500e16bde55c55547f2064788fbc41.tar.gz |
DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13156 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dpcm.c')
-rw-r--r-- | libavcodec/dpcm.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c index dfa6a25fde..b8fecf7d54 100644 --- a/libavcodec/dpcm.c +++ b/libavcodec/dpcm.c @@ -294,7 +294,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, 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"); |