aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jvdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-02 11:35:14 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-02 16:16:44 +0200
commitb4b167ecbff793a08242494a7d76effec81f43be (patch)
treed8244eac0b61d0ce5a8e6523e5d766ac781c9a1c /libavcodec/jvdec.c
parentaa05f2126e18d23432bde77e6f44e41691472fef (diff)
downloadffmpeg-b4b167ecbff793a08242494a7d76effec81f43be.tar.gz
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
Diffstat (limited to 'libavcodec/jvdec.c')
-rw-r--r--libavcodec/jvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 0da1142fc8..8f19ba3a6e 100644
--- a/libavcodec/jvdec.c
+++ b/libavcodec/jvdec.c
@@ -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,