diff options
Diffstat (limited to 'av_log.c')
-rw-r--r-- | av_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,10 +57,10 @@ static int extract_msg_type_from_ctx(void *ptr) if (!strcmp(avc->class_name, "AVCodecContext")) { AVCodecContext *s = ptr; if (s->codec) { - if (s->codec->type == CODEC_TYPE_AUDIO) { + if (s->codec->type == AVMEDIA_TYPE_AUDIO) { if (s->codec->decode) return MSGT_DECAUDIO; - } else if (s->codec->type == CODEC_TYPE_VIDEO) { + } else if (s->codec->type == AVMEDIA_TYPE_VIDEO) { if (s->codec->decode) return MSGT_DECVIDEO; } |