summaryrefslogtreecommitdiff
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r--libavcodec/targa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c
index d3740be5ef..339d7c43a3 100644
--- a/libavcodec/targa.c
+++ b/libavcodec/targa.c
@@ -293,7 +293,7 @@ static av_cold int targa_end(AVCodecContext *avctx){
AVCodec ff_targa_decoder = {
.name = "targa",
.type = AVMEDIA_TYPE_VIDEO,
- .id = CODEC_ID_TARGA,
+ .id = AV_CODEC_ID_TARGA,
.priv_data_size = sizeof(TargaContext),
.init = targa_init,
.close = targa_end,