diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-12-11 19:27:53 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-12-11 19:27:53 +0000 |
commit | 259037d0997969c339bce52e57a6f54b269c1fb2 (patch) | |
tree | 24e026c654dbac9b58f6344a99010eb642f9c442 | |
parent | b4be93212fdd8eac6cec6ae0e45743c13e32c7ed (diff) | |
download | ffmpeg-259037d0997969c339bce52e57a6f54b269c1fb2.tar.gz |
Rename ROQDPCMContext_t to ROQDPCMContext to avoid _t reserved prefix.
Originally committed as revision 16059 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/roqaudioenc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index df014a449f..28a6adc1e5 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -35,7 +35,7 @@ static unsigned char dpcmValues[MAX_DPCM]; typedef struct { short lastSample[2]; -} ROQDPCMContext_t; +} ROQDPCMContext; static av_cold void roq_dpcm_table_init(void) { @@ -51,7 +51,7 @@ static av_cold void roq_dpcm_table_init(void) static int roq_dpcm_encode_init(AVCodecContext *avctx) { - ROQDPCMContext_t *context = avctx->priv_data; + ROQDPCMContext *context = avctx->priv_data; if (avctx->channels > 2) { av_log(avctx, AV_LOG_ERROR, "Audio must be mono or stereo\n"); @@ -123,7 +123,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, short *in; unsigned char *out; - ROQDPCMContext_t *context = avctx->priv_data; + ROQDPCMContext *context = avctx->priv_data; stereo = (avctx->channels == 2); @@ -169,7 +169,7 @@ AVCodec roq_dpcm_encoder = { "roq_dpcm", CODEC_TYPE_AUDIO, CODEC_ID_ROQ_DPCM, - sizeof(ROQDPCMContext_t), + sizeof(ROQDPCMContext), roq_dpcm_encode_init, roq_dpcm_encode_frame, roq_dpcm_encode_close, |