summaryrefslogtreecommitdiff
path: root/src/libxvid/xine_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxvid/xine_decoder.c')
-rw-r--r--src/libxvid/xine_decoder.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libxvid/xine_decoder.c b/src/libxvid/xine_decoder.c
index c97a0b7de..e33ceb02f 100644
--- a/src/libxvid/xine_decoder.c
+++ b/src/libxvid/xine_decoder.c
@@ -100,10 +100,8 @@ static void xvid_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
/* initialize data describing video stream */
bih = (xine_bmiheader *) buf->content;
this->frame_duration = buf->decoder_info[1];
- /* FIXME: is BITMAPINFOHEADER always little-endian? ffmpeg plugin uses */
- /* weird way to ensure correct endianess */
- this->frame_width = le2me_32 (bih->biWidth);
- this->frame_height = le2me_32 (bih->biHeight);
+ this->frame_width = bih->biWidth;
+ this->frame_height = bih->biHeight;
/* initialize decoder */
if (this->xvid_handle) {