[FFmpeg-cvslog] bit: remove more unused variables

Michael Niedermayer git at videolan.org
Sun Sep 25 13:25:19 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Sep 25 11:29:22 2011 +0200| [ba9d174851e172cf315dd8ddc0993361c300f021] | committer: Michael Niedermayer

bit: remove more unused variables

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ba9d174851e172cf315dd8ddc0993361c300f021
---

 libavformat/bit.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavformat/bit.c b/libavformat/bit.c
index 41a74b7..7400d24 100644
--- a/libavformat/bit.c
+++ b/libavformat/bit.c
@@ -26,7 +26,6 @@ static int probe(AVProbeData *p)
 static int read_header(AVFormatContext *s, AVFormatParameters *ap)
 {
     AVStream* st;
-    ByteIOContext *pb = s->pb;
 
     st=av_new_stream(s, 0);
     if (!st)
@@ -108,7 +107,6 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
     ByteIOContext *pb = s->pb;
     GetBitContext gb;
     int i;
-    uint16_t b;
 
     put_le16(pb, SYNC_WORD);
     put_le16(pb, 8 * 10);



More information about the ffmpeg-cvslog mailing list