diff options
author | James Stembridge <jstembridge@users.sourceforge.net> | 2003-02-19 22:15:43 +0000 |
---|---|---|
committer | James Stembridge <jstembridge@users.sourceforge.net> | 2003-02-19 22:15:43 +0000 |
commit | 994a215ad108657b7f120589dcd70950b9aa2525 (patch) | |
tree | 825099383f73901c0ec6199ffcb023d911b59fe3 | |
parent | 930d7b4fc5b2c7cd1a2a2db5c2c1791c2f1ade85 (diff) | |
download | xine-lib-994a215ad108657b7f120589dcd70950b9aa2525.tar.gz xine-lib-994a215ad108657b7f120589dcd70950b9aa2525.tar.bz2 |
Small omission from HuffYUV support
CVS patchset: 4206
CVS date: 2003/02/19 22:15:43
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 37d9ed892..7cd34aa87 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.93 2003/02/19 21:37:16 jstembridge Exp $ + * $Id: xine_decoder.c,v 1.94 2003/02/19 22:15:43 jstembridge Exp $ * * xine decoder plugin using ffmpeg * @@ -141,6 +141,9 @@ static void init_video_codec (ff_video_decoder_t *this, xine_bmiheader *bih) { (uint8_t *)bih + sizeof(xine_bmiheader), this->context->extradata_size ); } + + if(bih) + this->context->bits_per_sample = bih->biBitCount; if (avcodec_open (this->context, this->codec) < 0) { printf ("ffmpeg: couldn't open decoder\n"); |