projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf5ec60
)
Mark video from .mtv files correctly as upside-down.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 25 Aug 2009 07:47:34 +0000
(07:47 +0000)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Tue, 25 Aug 2009 07:47:34 +0000
(07:47 +0000)
Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mtv.c
patch
|
blob
|
history
diff --git
a/libavformat/mtv.c
b/libavformat/mtv.c
index
1ebeaee
..
42aa91f
100644
(file)
--- 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