comparison pngdec.c @ 12129:8b28e74de2c0 libavcodec

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:30 +0000
parents c35d7bc64882
children 914f484bb476
comparison
equal deleted inserted replaced
12128:ee740a4e80c5 12129:8b28e74de2c0
427 goto fail; 427 goto fail;
428 length = bytestream_get_be32(&s->bytestream); 428 length = bytestream_get_be32(&s->bytestream);
429 if (length > 0x7fffffff) 429 if (length > 0x7fffffff)
430 goto fail; 430 goto fail;
431 tag32 = bytestream_get_be32(&s->bytestream); 431 tag32 = bytestream_get_be32(&s->bytestream);
432 tag = bswap_32(tag32); 432 tag = av_bswap32(tag32);
433 dprintf(avctx, "png: tag=%c%c%c%c length=%u\n", 433 dprintf(avctx, "png: tag=%c%c%c%c length=%u\n",
434 (tag & 0xff), 434 (tag & 0xff),
435 ((tag >> 8) & 0xff), 435 ((tag >> 8) & 0xff),
436 ((tag >> 16) & 0xff), 436 ((tag >> 16) & 0xff),
437 ((tag >> 24) & 0xff), length); 437 ((tag >> 24) & 0xff), length);