Commit 8ac692c1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Avformat demuxing: use bit_rate value

This sets the fmt.i_bitrate value and fixes decoding of TwinVQ samples. Thanks a lot to Vitor for pointing where the error was.
parent 285861a1
......@@ -234,6 +234,7 @@ int OpenDemux( vlc_object_t *p_this )
es_format_Init( &fmt, AUDIO_ES, fcc );
fmt.i_bitrate = cc->bit_rate; = cc->channels; = cc->sample_rate;
#if LIBAVCODEC_VERSION_INT < ((52<<16)+(0<<8)+0)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment