# HG changeset patch # User vitor # Date 1229023673 0 # Node ID d4f9b58f642571a0c1aab964fe8b201c666501cd # Parent f92b595af7eb3d97a5cd7c6cc7ebfa3115cc2fe1 Rename ROQDPCMContext_t to ROQDPCMContext to avoid _t reserved prefix. diff -r f92b595af7eb -r d4f9b58f6425 roqaudioenc.c --- a/roqaudioenc.c Thu Dec 11 01:32:24 2008 +0000 +++ b/roqaudioenc.c Thu Dec 11 19:27:53 2008 +0000 @@ -35,7 +35,7 @@ typedef struct { short lastSample[2]; -} ROQDPCMContext_t; +} ROQDPCMContext; static av_cold void roq_dpcm_table_init(void) { @@ -51,7 +51,7 @@ 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 @@ short *in; unsigned char *out; - ROQDPCMContext_t *context = avctx->priv_data; + ROQDPCMContext *context = avctx->priv_data; stereo = (avctx->channels == 2); @@ -169,7 +169,7 @@ "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,