summaryrefslogtreecommitdiff
path: root/libavcodec/rawenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rawenc.c')
-rw-r--r--libavcodec/rawenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c
index cf12684c45..56edf50649 100644
--- a/libavcodec/rawenc.c
+++ b/libavcodec/rawenc.c
@@ -69,7 +69,7 @@ static int raw_encode(AVCodecContext *avctx, AVPacket *pkt,
AVCodec ff_rawvideo_encoder = {
.name = "rawvideo",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_RAWVIDEO,
+ .id = AV_CODEC_ID_RAWVIDEO,
.priv_data_size = sizeof(AVFrame),
.init = raw_init_encoder,
.encode2 = raw_encode,