aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2008-08-05 00:32:27 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2008-08-05 00:32:27 +0000
commitba7f712c2140d907d543c665fbac38b626471cff (patch)
tree9d8718e797470a3dd48352c7c4e5de0e236fe72e /libavcodec/ac3dec.c
parent8354477edc9fbb01b4b7183b9bff6482f3201ae9 (diff)
downloadffmpeg-ba7f712c2140d907d543c665fbac38b626471cff.tar.gz
remove unneeded local variable
Originally committed as revision 14547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 115de6087f..cca80b5c13 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -276,10 +276,9 @@ static int ac3_parse_header(AC3DecodeContext *s)
static int parse_frame_header(AC3DecodeContext *s)
{
AC3HeaderInfo hdr;
- GetBitContext *gbc = &s->gbc;
int err;
- err = ff_ac3_parse_header(gbc, &hdr);
+ err = ff_ac3_parse_header(&s->gbc, &hdr);
if(err)
return err;