Mercurial > libavcodec.hg
diff tta.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 | 4525dcd81357 |
children | e9d9d946f213 |
line wrap: on
line diff
--- a/tta.c Sat Jan 17 11:13:33 2009 +0000 +++ b/tta.c Sat Jan 17 12:21:01 2009 +0000 @@ -209,11 +209,11 @@ return -1; init_get_bits(&s->gb, avctx->extradata, avctx->extradata_size); - if (show_bits_long(&s->gb, 32) == ff_get_fourcc("TTA1")) + if (show_bits_long(&s->gb, 32) == AV_RL32("TTA1")) { /* signature */ skip_bits(&s->gb, 32); -// if (get_bits_long(&s->gb, 32) != bswap_32(ff_get_fourcc("TTA1"))) { +// if (get_bits_long(&s->gb, 32) != bswap_32(AV_RL32("TTA1"))) { // av_log(s->avctx, AV_LOG_ERROR, "Missing magic\n"); // return -1; // }