Use enum CodecID where appropriate.
Originally committed as revision 21119 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
e6565055b9
commit
e6a9dd6a7d
@ -192,7 +192,7 @@ static int process_audio_header_elements(AVFormatContext *s)
|
|||||||
case 16: ea->audio_codec = CODEC_ID_MP3; break;
|
case 16: ea->audio_codec = CODEC_ID_MP3; break;
|
||||||
case -1: break;
|
case -1: break;
|
||||||
default:
|
default:
|
||||||
ea->audio_codec = 0;
|
ea->audio_codec = CODEC_ID_NONE;
|
||||||
av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
|
av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user