put_*() are not only useful to muxers and protocol
authorAurelien Jacobs <aurel@gnuage.org>
Sat, 16 Dec 2006 20:40:09 +0000 (20:40 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 16 Dec 2006 20:40:09 +0000 (20:40 +0000)
fix compilation of matroska demuxer with --disable-muxers --disable-protocols

Originally committed as revision 7323 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/aviobuf.c

index 866641a..f3e7d50 100644 (file)
@@ -185,7 +185,6 @@ int url_ferror(ByteIOContext *s)
     return s->error;
 }
 
-#if defined(CONFIG_MUXERS) || defined(CONFIG_PROTOCOLS)
 void put_le32(ByteIOContext *s, unsigned int val)
 {
     put_byte(s, val);
@@ -252,7 +251,6 @@ void put_tag(ByteIOContext *s, const char *tag)
         put_byte(s, *tag++);
     }
 }
-#endif //CONFIG_MUXERS || CONFIG_PROTOCOLS
 
 /* Input stream */