diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2006-11-03 20:13:42 +0000 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@opendot.cl> | 2006-11-03 20:13:42 +0000 |
commit | b1d196db56ca5125d53213a1022775540d0709ad (patch) | |
tree | 36fb9a8a300f95e4c953f80940dea93b63c35b6b /libavformat/mtv.c | |
parent | 079e61db5decd54b3cb110f3258618465eb9aa63 (diff) | |
download | ffmpeg-b1d196db56ca5125d53213a1022775540d0709ad.tar.gz |
now we set codec_tag, still have to figure out how to handle flipping
Originally committed as revision 6892 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r-- | libavformat/mtv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c index fff72b4739..7a68ea97f3 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -104,6 +104,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap) av_set_pts_info(st, 64, 1, mtv->video_fps); st->codec->codec_type = CODEC_TYPE_VIDEO; st->codec->codec_id = CODEC_ID_RAWVIDEO; + st->codec->codec_tag = MKTAG('R', 'G', 'B', mtv->img_bpp); st->codec->width = mtv->img_width; st->codec->height = mtv->img_height; st->codec->bits_per_sample = mtv->img_bpp; |