diff mjpega_dump_header_bsf.c @ 8612:b20c590170cc libavcodec

remove ff_get_fourcc() and use AV_RL32() instead
author aurel
date Sat, 17 Jan 2009 12:21:01 +0000
parents 1408a8907da9
children 04423b2f6e0b
line wrap: on
line diff
--- a/mjpega_dump_header_bsf.c	Sat Jan 17 11:13:33 2009 +0000
+++ b/mjpega_dump_header_bsf.c	Sat Jan 17 12:21:01 2009 +0000
@@ -73,7 +73,7 @@
                 *poutbuf_size = poutbufp - *poutbuf;
                 return 1;
             case APP1:
-                if (i + 8 < buf_size && AV_RL32(buf + i + 8) == ff_get_fourcc("mjpg")) {
+                if (i + 8 < buf_size && AV_RL32(buf + i + 8) == AV_RL32("mjpg")) {
                     av_log(avctx, AV_LOG_ERROR, "bitstream already formatted\n");
                     memcpy(*poutbuf, buf, buf_size);
                     *poutbuf_size = buf_size;