diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-09-25 22:53:11 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2006-09-25 22:53:11 +0000 |
commit | 6831406b2fcf5f965429a72381b20ce0abc5d66d (patch) | |
tree | 86e7b93db267647ed179127244785b9df0987d0b | |
parent | d1121caa664a8c750a8b0ad96e7e734988f4b27c (diff) | |
download | ffmpeg-6831406b2fcf5f965429a72381b20ce0abc5d66d.tar.gz |
Changes needed due to show_bits_long behaviour changes/fixes
Originally committed as revision 6333 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/tta.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 979a94a742..8c6f67fd6b 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -198,12 +198,12 @@ static int tta_get_unary(GetBitContext *gb) // shamelessly copied from shorten.c static int inline get_le16(GetBitContext *gb) { - return bswap_16(get_bits_long(gb, 16)); + return get_bits_long(gb, 16); } static int inline get_le32(GetBitContext *gb) { - return bswap_32(get_bits_long(gb, 32)); + return get_bits_long(gb, 32); } static int tta_decode_init(AVCodecContext * avctx) @@ -218,7 +218,7 @@ static 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) == bswap_32(ff_get_fourcc("TTA1"))) + if (show_bits_long(&s->gb, 32) == ff_get_fourcc("TTA1")) { /* signature */ skip_bits(&s->gb, 32); |