comparison ffv1.c @ 11560:8a4984c5cacc libavcodec

Define AVMediaType enum, and use it instead of enum CodecType, which is deprecated and will be dropped at the next major bump.
author stefano
date Tue, 30 Mar 2010 23:30:55 +0000
parents 86e4be64519e
children e00f9288527a
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
1123 return bytes_read; 1123 return bytes_read;
1124 } 1124 }
1125 1125
1126 AVCodec ffv1_decoder = { 1126 AVCodec ffv1_decoder = {
1127 "ffv1", 1127 "ffv1",
1128 CODEC_TYPE_VIDEO, 1128 AVMEDIA_TYPE_VIDEO,
1129 CODEC_ID_FFV1, 1129 CODEC_ID_FFV1,
1130 sizeof(FFV1Context), 1130 sizeof(FFV1Context),
1131 decode_init, 1131 decode_init,
1132 NULL, 1132 NULL,
1133 common_end, 1133 common_end,
1138 }; 1138 };
1139 1139
1140 #if CONFIG_FFV1_ENCODER 1140 #if CONFIG_FFV1_ENCODER
1141 AVCodec ffv1_encoder = { 1141 AVCodec ffv1_encoder = {
1142 "ffv1", 1142 "ffv1",
1143 CODEC_TYPE_VIDEO, 1143 AVMEDIA_TYPE_VIDEO,
1144 CODEC_ID_FFV1, 1144 CODEC_ID_FFV1,
1145 sizeof(FFV1Context), 1145 sizeof(FFV1Context),
1146 encode_init, 1146 encode_init,
1147 encode_frame, 1147 encode_frame,
1148 common_end, 1148 common_end,