Commit 49056037 authored by Reimar Döffinger's avatar Reimar Döffinger

Mark video from .mtv files correctly as upside-down.

Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cf5ec607
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment