diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-08 22:49:26 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-08 22:49:26 +0000 |
commit | 98ce5991d766ad08c192632baedc896fd32fb7ad (patch) | |
tree | c10aacdb926bd497b16518deaef0e81ee9f591c7 /libavcodec/mpegaudiodec.c | |
parent | 6a58e1510d073e214db2fc2cbb9fe4c031a739e6 (diff) | |
download | ffmpeg-98ce5991d766ad08c192632baedc896fd32fb7ad.tar.gz |
update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)
Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 43ec55daf2..51c8ef1305 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -2481,6 +2481,7 @@ static int decode_frame(AVCodecContext * avctx, avctx->sample_rate = s->sample_rate; avctx->channels = s->nb_channels; avctx->bit_rate = s->bit_rate; + avctx->sub_id = s->layer; switch(s->layer) { case 1: avctx->frame_size = 384; |