Mercurial > libavcodec.hg
changeset 6800:e3c9fa010282 libavcodec
DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it
author | diego |
---|---|
date | Thu, 15 May 2008 11:31:14 +0000 |
parents | 2854b51e7f47 |
children | 047a6a80dca4 |
files | dpcm.c |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/dpcm.c Thu May 15 01:03:48 2008 +0000 +++ b/dpcm.c Thu May 15 11:31:14 2008 +0000 @@ -294,7 +294,7 @@ 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 @@ 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");