Commit 3b99d3d3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Realv3: support for broken streams that speciy a wrong FourCC

parent ff6ab8ff
......@@ -1303,6 +1303,8 @@ static struct
/* RealAudio 1.0 */
{ VLC_FOURCC('1','4','_','4'), CODEC_ID_RA_144,
AUDIO_ES, "RealAudio 1.0" },
{ VLC_FOURCC('l','p','c','J'), CODEC_ID_RA_144,
AUDIO_ES, "RealAudio 1.0" },
/* RealAudio 2.0 */
{ VLC_FOURCC('2','8','_','8'), CODEC_ID_RA_288,
......
......@@ -1127,6 +1127,8 @@ static int ReadCodecSpecificData( demux_t *p_demux, int i_len, int i_num )
switch( fmt.i_codec )
{
case VLC_FOURCC('1','4','_','4'):
break:
case VLC_FOURCC('l','p','c','J'):
fmt.i_codec = VLC_FOURCC( '1','4','_','4' );
break;
......
Markdown is supported
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