Revision 2f5132e7 libavformat/flvenc.c

View differences:

libavformat/flvenc.c
35 35
}
36 36

  
37 37
static int get_audio_flags(AVCodecContext *enc){
38
    int flags = 0;
38
    int flags = (enc->bits_per_sample == 16) ? 0x2 : 0x0;
39 39

  
40 40
    switch (enc->sample_rate) {
41 41
        case    44100:

Also available in: Unified diff