]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
put_*() are not only useful to muxers and protocol
authoraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 16 Dec 2006 20:40:09 +0000 (20:40 +0000)
committeraurel <aurel@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 16 Dec 2006 20:40:09 +0000 (20:40 +0000)
fix compilation of matroska demuxer with --disable-muxers --disable-protocols

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7323 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/aviobuf.c

index 866641ad066fc2e140880bad9ab0b96aa6712382..f3e7d5081fa1f3a8e97720f0eb30aa061bc14eee 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 */