# HG changeset patch # User reimar # Date 1170869736 0 # Node ID 40395b1feedb4f9b518368f81b98f407445f7a8b # Parent 2832b65bd37ea7b9afeefc3ae28c324f15d0a3da Fix incorrect use of ff_get_fourcc that made mjpgb not play on big endian. Fixes bug 739. diff -r 2832b65bd37e -r 40395b1feedb mjpeg.c --- a/mjpeg.c Wed Feb 07 16:59:10 2007 +0000 +++ b/mjpeg.c Wed Feb 07 17:35:36 2007 +0000 @@ -2249,7 +2249,7 @@ skip_bits(&hgb, 32); /* reserved zeros */ - if (get_bits_long(&hgb, 32) != be2me_32(ff_get_fourcc("mjpg"))) + if (get_bits_long(&hgb, 32) != MKBETAG('m','j','p','g')) { dprintf("not mjpeg-b (bad fourcc)\n"); return 0;