aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-20 09:38:55 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-20 09:38:55 +0000
commit6122b733e957b5d3e623fdd83d9908a5dea67299 (patch)
tree288dae7435a18fd10ba3091cd229f3d44cbd87bf /libavcodec
parentd0ed455f19f5402c7ee2ff3392861fc40f945a85 (diff)
downloadffmpeg-6122b733e957b5d3e623fdd83d9908a5dea67299.tar.gz
omg, fix compilation
Originally committed as revision 12509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegaudiodec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index a90eb92f51..82e7803e7b 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -2301,15 +2301,15 @@ static int mp_decode_frame(MPADecodeContext *s,
dprintf(s->avctx, "frame %d:\n", s->frame_count);
switch(s->layer) {
case 1:
- avctx->frame_size = 384;
+ s->avctx->frame_size = 384;
nb_frames = mp_decode_layer1(s);
break;
case 2:
- avctx->frame_size = 1152;
+ s->avctx->frame_size = 1152;
nb_frames = mp_decode_layer2(s);
break;
case 3:
- avctx->frame_size = s->lsf ? 576 : 1152;
+ s->avctx->frame_size = s->lsf ? 576 : 1152;
default:
nb_frames = mp_decode_layer3(s);