Ticket #2439: 2439-v4.patch

File 2439-v4.patch, 476 bytes (added by Adolfo R. Brandes <arbrandes@…>, 12 years ago)
  • libs/libavcodec/mpegaudio_parser.c

     
    7474
    7575    *sample_rate = s->sample_rate;
    7676    avctx->channels = s->nb_channels;
     77    avctx->avcodec_dual_language = (s->mode == MPA_DUAL) ? 1 : 0;
    7778    avctx->bit_rate = s->bit_rate;
    7879    avctx->sub_id = s->layer;
    7980    return s->frame_size;