mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -52,7 +52,7 @@ static int speex_header(AVFormatContext *s, int idx) {
|
||||
|
||||
if (spxp->seq == 0) {
|
||||
int frames_per_packet;
|
||||
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
|
||||
st->codec->codec_id = CODEC_ID_SPEEX;
|
||||
|
||||
st->codec->sample_rate = AV_RL32(p + 36);
|
||||
|
||||
Reference in New Issue
Block a user