comparison electronicarts.c @ 5511:a45748f721d1 libavformat

Use enum CodecID where appropriate.
author cehoyos
date Sun, 10 Jan 2010 08:57:20 +0000
parents d7e1371e4b5d
children 536e5527c1e0
comparison
equal deleted inserted replaced
5510:47ef38389cd3 5511:a45748f721d1
190 case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break; 190 case 8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
191 case 10: ea->audio_codec = CODEC_ID_ADPCM_EA_R2; break; 191 case 10: ea->audio_codec = CODEC_ID_ADPCM_EA_R2; break;
192 case 16: ea->audio_codec = CODEC_ID_MP3; break; 192 case 16: ea->audio_codec = CODEC_ID_MP3; break;
193 case -1: break; 193 case -1: break;
194 default: 194 default:
195 ea->audio_codec = 0; 195 ea->audio_codec = CODEC_ID_NONE;
196 av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2); 196 av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
197 return 0; 197 return 0;
198 } 198 }
199 break; 199 break;
200 default: 200 default: