[Ffmpeg-cvslog] r6333 - trunk/libavcodec/tta.c

reimar subversion
Tue Sep 26 00:53:11 CEST 2006


Author: reimar
Date: Tue Sep 26 00:53:11 2006
New Revision: 6333

Modified:
   trunk/libavcodec/tta.c

Log:
Changes needed due to show_bits_long behaviour changes/fixes


Modified: trunk/libavcodec/tta.c
==============================================================================
--- trunk/libavcodec/tta.c	(original)
+++ trunk/libavcodec/tta.c	Tue Sep 26 00:53:11 2006
@@ -198,12 +198,12 @@
 // 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 @@
         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);




More information about the ffmpeg-cvslog mailing list