From faf0b1842eed295615aa24669446f9b5c109b3d9 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Wed, 29 Oct 2003 19:35:43 +0000 Subject: [PATCH 1/1] * modules/codec/ffmpeg/ffmpeg.c: CODEC_ID_MP3 is only available on recent ffmpeg versions. --- modules/codec/ffmpeg/ffmpeg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/codec/ffmpeg/ffmpeg.c b/modules/codec/ffmpeg/ffmpeg.c index 81199574db..60e71f0841 100644 --- a/modules/codec/ffmpeg/ffmpeg.c +++ b/modules/codec/ffmpeg/ffmpeg.c @@ -2,7 +2,7 @@ * ffmpeg.c: video decoder using ffmpeg library ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN - * $Id: ffmpeg.c,v 1.56 2003/10/27 17:50:54 gbazin Exp $ + * $Id: ffmpeg.c,v 1.57 2003/10/29 19:35:43 gbazin Exp $ * * Authors: Laurent Aimar * Gildas Bazin @@ -150,7 +150,7 @@ static int OpenDecoder( vlc_object_t *p_this ) if( !avcodec_find_decoder( i_codec_id ) ) { - msg_Err( p_dec, "codec not found (%s)", psz_namecodec ); + msg_Dbg( p_dec, "codec not found (%s)", psz_namecodec ); return VLC_EGENERIC; } @@ -617,7 +617,7 @@ int E_(GetFfmpegCodec)( vlc_fourcc_t i_fourcc, int *pi_cat, break; case VLC_FOURCC('m','p','3',' '): i_cat = AUDIO_ES; - i_codec = CODEC_ID_MP3; + i_codec = CODEC_ID_MP3LAME; psz_name = "MPEG Audio layer 1/2/3"; break; -- 2.39.2