Mercurial > libavcodec.hg
changeset 6511:b5e9dae2dbc6 libavcodec
omg, fix compilation
author | bcoudurier |
---|---|
date | Thu, 20 Mar 2008 09:38:55 +0000 |
parents | 771eb7ea8b3f |
children | 33ac9c5524cc |
files | mpegaudiodec.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegaudiodec.c Thu Mar 20 09:36:04 2008 +0000 +++ b/mpegaudiodec.c Thu Mar 20 09:38:55 2008 +0000 @@ -2301,15 +2301,15 @@ 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);