]>
Commit | Line | Data |
---|---|---|
d6f7c90e | 1 | Index: libquicktime-1.2.2/plugins/ffmpeg/lqt_ffmpeg.c |
2 | =================================================================== | |
3 | --- libquicktime-1.2.2.orig/plugins/ffmpeg/lqt_ffmpeg.c | |
4 | +++ libquicktime-1.2.2/plugins/ffmpeg/lqt_ffmpeg.c | |
5 | @@ -1031,8 +1031,8 @@ static void set_codec_info(struct CODECI | |
6 | snprintf(ffmpeg_long_name, 256, "%s", map->name); | |
7 | snprintf(ffmpeg_description, 256, "%s", map->name); | |
8 | ||
9 | - if((map->encoder && (map->encoder->type == CODEC_TYPE_VIDEO)) || | |
10 | - (map->decoder && (map->decoder->type == CODEC_TYPE_VIDEO))){ | |
11 | + if((map->encoder && (map->encoder->type == AVMEDIA_TYPE_VIDEO)) || | |
12 | + (map->decoder && (map->decoder->type == AVMEDIA_TYPE_VIDEO))){ | |
13 | codec_info_ffmpeg.type = LQT_CODEC_VIDEO; | |
14 | } else { | |
15 | codec_info_ffmpeg.type = LQT_CODEC_AUDIO; |