From 3b99d3d39fc6b722bd564e023d796cf8df8e8232 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 18 Nov 2007 18:15:56 +0000 Subject: [PATCH] Realv3: support for broken streams that speciy a wrong FourCC --- modules/codec/ffmpeg/ffmpeg.c | 2 ++ modules/demux/real.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/modules/codec/ffmpeg/ffmpeg.c b/modules/codec/ffmpeg/ffmpeg.c index 65e96378bb..9aadac5356 100644 --- a/modules/codec/ffmpeg/ffmpeg.c +++ b/modules/codec/ffmpeg/ffmpeg.c @@ -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, diff --git a/modules/demux/real.c b/modules/demux/real.c index 824584cfee..e13913e700 100644 --- a/modules/demux/real.c +++ b/modules/demux/real.c @@ -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; -- 2.39.5