Mercurial > libavformat.hg
changeset 5386:f84f69fc9d08 libavformat
10l, pix_fmt should be set by the motionpixels decoder, not by the demuxer.
This fixes playback when lavf and lavc are less tightly couples as in e.g. MPlayer.
author | reimar |
---|---|
date | Thu, 26 Nov 2009 21:15:06 +0000 |
parents | de6eb16c2b5b |
children | 8737044ce5c3 |
files | mvi.c |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mvi.c Tue Nov 24 15:54:17 2009 +0000 +++ b/mvi.c Thu Nov 26 21:15:06 2009 +0000 @@ -86,7 +86,6 @@ av_set_pts_info(vst, 64, msecs_per_frame, 1000000); vst->codec->codec_type = CODEC_TYPE_VIDEO; vst->codec->codec_id = CODEC_ID_MOTIONPIXELS; - vst->codec->pix_fmt = PIX_FMT_RGB555; mvi->get_int = (vst->codec->width * vst->codec->height < (1 << 16)) ? get_le16 : get_le24;