commit 8afdb249774da035f33cd805548eb8fc3801d47c parent 74dd6bfa9405df982853b7b2f467e1546d5d31fd Author: Jonathan Gonzalez V <zeus@gnu.org> Date: Thu, 21 Apr 2011 09:06:47 +0800 Don't use obsolete CODEC_TYPE_AUDIO macro Diffstat:
M | src/spek-audio.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spek-audio.c b/src/spek-audio.c @@ -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; }