OSDN Git Service

tmv decoder: set correct pix_fmt
authorUoti Urpala <uoti.urpala@pp1.inet.fi>
Sun, 18 Dec 2011 14:17:07 +0000 (16:17 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Sun, 18 Dec 2011 14:58:03 +0000 (06:58 -0800)
commit488a5b3fddce6714cfa7ccd4a5c91cd2dd355033
treedcae79d1a0dc96225d7d997c8873d641f7549d35
parent0ea5b44275aa334528eb384a6548cc9f98c50a17
tmv decoder: set correct pix_fmt

Previously the decoder only worked if the user had set avctx->pix_fmt
manually. For some reason the libavformat tmv demuxer sets this, so
the problem was not visible in avplay etc.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/tmv.c