Revision 6ed08157 libavformat/flvdec.c

View differences:

libavformat/flvdec.c
115 115
    }
116 116
    goto skip;
117 117
 found:
118
    if(type == 8){
119
        st->codec.channels = (flags&1)+1;
120
        st->codec.sample_rate = (44100<<((flags>>2)&3))>>3;
121
    }
118 122

  
119 123
    if (av_new_packet(pkt, size) < 0)
120 124
        return -EIO;

Also available in: Unified diff