Mercurial > libavformat.hg
diff flic.c @ 2771:d52c718e83f9 libavformat
Use dynamically allocated ByteIOContext in AVFormatContext
patch by: Bj?rn Axelsson, bjorn d axelsson a intinor d se
thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007
| author | andoma |
|---|---|
| date | Wed, 21 Nov 2007 07:41:00 +0000 |
| parents | 91b61b76eb8c |
| children | 7a0230981402 |
line wrap: on
line diff
--- a/flic.c Mon Nov 19 20:28:11 2007 +0000 +++ b/flic.c Wed Nov 21 07:41:00 2007 +0000 @@ -67,7 +67,7 @@ AVFormatParameters *ap) { FlicDemuxContext *flic = s->priv_data; - ByteIOContext *pb = &s->pb; + ByteIOContext *pb = s->pb; unsigned char header[FLIC_HEADER_SIZE]; AVStream *st; int speed; @@ -142,7 +142,7 @@ AVPacket *pkt) { FlicDemuxContext *flic = s->priv_data; - ByteIOContext *pb = &s->pb; + ByteIOContext *pb = s->pb; int packet_read = 0; unsigned int size; int magic;
