changeset 6894:eb3c16b99f27 libavcodec

Rename context struct to be more consistent with the rest of ffmpeg
author vitor
date Mon, 26 May 2008 16:55:22 +0000
parents 72dafc993490
children c63e9357e2a8
files ra144.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Mon May 26 11:32:42 2008 +0000
+++ b/ra144.c	Mon May 26 16:55:22 2008 +0000
@@ -42,11 +42,11 @@
 
     unsigned int buffer[5];
     uint16_t buffer_2[148];
-} Real144_internal;
+} RA144Context;
 
 static int ra144_decode_init(AVCodecContext * avctx)
 {
-    Real144_internal *glob = avctx->priv_data;
+    RA144Context *glob = avctx->priv_data;
 
     glob->swapbuf1    = glob->swapbuffers[0];
     glob->swapbuf2    = glob->swapbuffers[1];
@@ -199,7 +199,7 @@
 }
 
 /* do quarter-block output */
-static void do_output_subblock(Real144_internal *glob,
+static void do_output_subblock(RA144Context *glob,
                                const uint16_t  *gsp, unsigned int gval,
                                int16_t *output_buffer, GetBitContext *gb)
 {
@@ -314,7 +314,7 @@
     int16_t *data = vdata;
     unsigned int val;
 
-    Real144_internal *glob = avctx->priv_data;
+    RA144Context *glob = avctx->priv_data;
     GetBitContext gb;
 
     if(buf_size < 20) {
@@ -367,7 +367,7 @@
     "real_144",
     CODEC_TYPE_AUDIO,
     CODEC_ID_RA_144,
-    sizeof(Real144_internal),
+    sizeof(RA144Context),
     ra144_decode_init,
     NULL,
     NULL,