diff --git a/libavformat/riff.c b/libavformat/riff.c
index f35a7a222f59ba70918ac45619d06353c469c67c..ab6d6291e1900323ee00fcbce1eef53afaf986bc 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -104,6 +104,7 @@ const AVCodecTag codec_bmp_tags[] = {
     { CODEC_ID_MJPEG, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - decoder */
     { CODEC_ID_MJPEG, MKTAG('j', 'p', 'e', 'g') },
     { CODEC_ID_MJPEG, MKTAG('I', 'J', 'P', 'G') },
+    { CODEC_ID_MJPEG, MKTAG('A', 'V', 'R', 'n') },
     { CODEC_ID_JPEGLS, MKTAG('M', 'J', 'L', 'S') }, /* JPEG-LS custom FOURCC for avi - encoder */
     { CODEC_ID_HUFFYUV, MKTAG('H', 'F', 'Y', 'U') },
     { CODEC_ID_FFVHUFF, MKTAG('F', 'F', 'V', 'H') },