diff options
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r-- | libavcodec/tta.c | 4 |
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; // } |