libeplayer3/input: fix AV_CODEC_ID_MP2 usage

This commit is contained in:
martii
2014-04-12 16:53:55 +02:00
parent 6b763f8393
commit 7b0ea65fcd

View File

@@ -455,7 +455,7 @@ bool Input::UpdateTracks()
}
case AVMEDIA_TYPE_AUDIO: {
switch(stream->codec->codec_id) {
case AUDIO_ENCODING_MPEG2:
case AV_CODEC_ID_MP2:
track.ac3flags = 9;
break;
case AV_CODEC_ID_MP3: