Mercurial > libavformat.hg
diff mtv.c @ 5144:65f73f11261c libavformat
Mark video from .mtv files correctly as upside-down.
author | reimar |
---|---|
date | Tue, 25 Aug 2009 07:47:34 +0000 |
parents | 44a0fab134a9 |
children | 9d7f3a448c3c |
line wrap: on
line diff
--- a/mtv.c Mon Aug 24 21:42:25 2009 +0000 +++ b/mtv.c Tue Aug 25 07:47:34 2009 +0000 @@ -102,6 +102,8 @@ 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