summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/native/nuppelvideo.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/native/nuppelvideo.c')
-rw-r--r--libmpcodecs/native/nuppelvideo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/native/nuppelvideo.c b/libmpcodecs/native/nuppelvideo.c
index 8b82d8a4e3..566d707426 100644
--- a/libmpcodecs/native/nuppelvideo.c
+++ b/libmpcodecs/native/nuppelvideo.c
@@ -13,6 +13,7 @@
#include "config.h"
#include "mp_msg.h"
+#include "bswap.h"
#include "../../libvo/fastmemcpy.h"
@@ -37,6 +38,7 @@ void decode_nuv( unsigned char *encoded, int encoded_size,
// 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 */