jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY

This commit is contained in:
Anton Khirnov
2011-04-02 11:35:14 +02:00
parent aa05f2126e
commit b4b167ecbf
2 changed files with 5 additions and 5 deletions

View File

@@ -205,7 +205,7 @@ static av_cold int decode_close(AVCodecContext *avctx)
AVCodec ff_jv_decoder = {
.name = "jv",
.long_name = NULL_IF_CONFIG_SMALL("Bitmap Brothers JV video"),
.type = CODEC_TYPE_VIDEO,
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_JV,
.priv_data_size = sizeof(JvContext),
.init = decode_init,