ALT_BITSTREAM_READER_LE is obviously not needed for the tta demuxer, as there was...
[ffmpeg.git] / libavformat / tta.c
index 203e47e..07cf75c 100644 (file)
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include "avformat.h"
-#define ALT_BITSREAM_READER_LE
 #include "bitstream.h"
 
 typedef struct {
@@ -139,7 +138,7 @@ static int tta_read_close(AVFormatContext *s)
     return 0;
 }
 
-AVInputFormat tta_iformat = {
+AVInputFormat tta_demuxer = {
     "tta",
     "true-audio",
     sizeof(TTAContext),
@@ -149,9 +148,3 @@ AVInputFormat tta_iformat = {
     tta_read_close,
     .extensions = "tta",
 };
-
-int tta_init(void)
-{
-    av_register_input_format(&tta_iformat);
-    return 0;
-}