diff --git a/libavformat/img2.c b/libavformat/img2.c
index ed90d5067bf4561ae7e3a513d5a1b7daed215d42..e464b027fe6fe0fcf9581ce87a24b040aca9ea04 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -58,6 +58,7 @@ static const IdStrMap img_tags[] = {
     { CODEC_ID_MPEG4     , "mpg4-img"},
     { CODEC_ID_FFV1      , "ffv1-img"},
     { CODEC_ID_RAWVIDEO  , "y"},
+    { CODEC_ID_RAWVIDEO  , "raw"},
     { CODEC_ID_BMP       , "bmp"},
     { CODEC_ID_GIF       , "gif"},
     { CODEC_ID_TARGA     , "tga"},