Mercurial > mplayer.hg
diff libmpcodecs/native/nuppelvideo.c @ 14896:9ddae5897422
Make nuv files work on bigendian (but old nuv files created with mencoder
wont play anymore - before they would have worked with mplayer on be)
author | reimar |
---|---|
date | Thu, 03 Mar 2005 10:19:56 +0000 |
parents | 1e47c2e7aa8e |
children | 6ff3379a0862 |
line wrap: on
line diff
--- a/libmpcodecs/native/nuppelvideo.c Thu Mar 03 07:54:50 2005 +0000 +++ b/libmpcodecs/native/nuppelvideo.c Thu Mar 03 10:19:56 2005 +0000 @@ -13,6 +13,7 @@ #include "config.h" #include "mp_msg.h" +#include "bswap.h" #include "../../libvo/fastmemcpy.h" @@ -37,6 +38,7 @@ // printf("frametype: %c, comtype: %c, encoded_size: %d, width: %d, height: %d\n", // encodedh->frametype, encodedh->comptype, encoded_size, width, height); + le2me_rtframeheader(encodedh); switch(encodedh->frametype) { case 'D': /* additional data for compressors */