summaryrefslogtreecommitdiff
path: root/libavcodec/tta.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-01-17 12:21:01 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-01-17 12:21:01 +0000
commit2bb6eba21d1843d67127be031aab7576dbe4c200 (patch)
tree58da36fa398f13d1c6916e14af466f28ea735ce4 /libavcodec/tta.c
parent9ce6c1387988bf3cdb631f3844e99a0c9bea43f2 (diff)
remove ff_get_fourcc() and use AV_RL32() instead
Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r--libavcodec/tta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index adf48b2997..2400acbb75 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -209,11 +209,11 @@ static av_cold int tta_decode_init(AVCodecContext * avctx)
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;
// }