diff options
Diffstat (limited to 'libmpcodecs/native/nuppelvideo.c')
-rw-r--r-- | libmpcodecs/native/nuppelvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/native/nuppelvideo.c b/libmpcodecs/native/nuppelvideo.c index 0cb38932fd..8b82d8a4e3 100644 --- a/libmpcodecs/native/nuppelvideo.c +++ b/libmpcodecs/native/nuppelvideo.c @@ -44,7 +44,7 @@ void decode_nuv( unsigned char *encoded, int encoded_size, /* tables are in encoded */ if (encodedh->comptype == 'R') { - RTjpeg_init_decompress ( encoded+12, width, height ); + RTjpeg_init_decompress ( (unsigned long *)(encoded+12), width, height ); mp_msg(MSGT_DECVIDEO, MSGL_V, "Found RTjpeg tables (size: %d, width: %d, height: %d)\n", encoded_size-12, width, height); } |