Revision 508fe07a

View differences:

libavformat/rmdec.c
679 679

  
680 680
            if (++(ast->sub_packet_cnt) < h)
681 681
                return -1;
682
                ast->sub_packet_cnt = 0;
683
                rm->audio_stream_num = st->index;
684
                rm->audio_pkt_cnt = h * w / st->codec->block_align;
682
             ast->sub_packet_cnt = 0;
683
             rm->audio_stream_num = st->index;
684
             rm->audio_pkt_cnt = h * w / st->codec->block_align;
685 685
        } else if (st->codec->codec_id == CODEC_ID_AAC) {
686 686
            int x;
687 687
            rm->audio_stream_num = st->index;

Also available in: Unified diff