mirror of
https://github.com/alexkay/spek.git
synced 2025-04-17 00:52:20 +03:00
Don't use obsolete CODEC_TYPE_AUDIO macro
This commit is contained in:
parent
74dd6bfa94
commit
8afdb24977
@ -57,7 +57,7 @@ SpekAudioContext * spek_audio_open (const gchar *file_name) {
|
||||
}
|
||||
cx->audio_stream = -1;
|
||||
for (i = 0; i < cx->format_context->nb_streams; i++) {
|
||||
if (cx->format_context->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO) {
|
||||
if (cx->format_context->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
|
||||
cx->audio_stream = i;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user