diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 1ebeaee8a9fdf92f20a609b8baba09cd6ea171a6..42aa91f7b3ada6387abf588bfc54cd47bc9be438 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -102,6 +102,8 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
     st->codec->height          = mtv->img_height;
     st->codec->bits_per_coded_sample = mtv->img_bpp;
     st->codec->sample_rate     = mtv->video_fps;
+    st->codec->extradata       = av_strdup("BottomUp");
+    st->codec->extradata_size  = 9;
 
     // audio - mp3