[FFmpeg-cvslog] r16059 - trunk/libavcodec/roqaudioenc.c
vitor
subversion
Thu Dec 11 20:27:53 CET 2008
Author: vitor
Date: Thu Dec 11 20:27:53 2008
New Revision: 16059
Log:
Rename ROQDPCMContext_t to ROQDPCMContext to avoid _t reserved prefix.
Modified:
trunk/libavcodec/roqaudioenc.c
Modified: trunk/libavcodec/roqaudioenc.c
==============================================================================
--- trunk/libavcodec/roqaudioenc.c (original)
+++ trunk/libavcodec/roqaudioenc.c Thu Dec 11 20:27:53 2008
@@ -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(
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(AVCodec
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,
More information about the ffmpeg-cvslog
mailing list