aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-25 07:47:34 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-08-25 07:47:34 +0000
commit49056037a80009b60b5cf9fb43d9c12f873b4fcf (patch)
tree361ddb3c59d53d356dee34eb3b9fca71bc2d532a
parentcf5ec607406cf6e1b2dd28247fd5026457c747c1 (diff)
downloadffmpeg-49056037a80009b60b5cf9fb43d9c12f873b4fcf.tar.gz
Mark video from .mtv files correctly as upside-down.
Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/mtv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 1ebeaee8a9..42aa91f7b3 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