mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
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 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Andreas Öman
parent
79815f622d
commit
899681cd1d
+2
-2
@@ -65,7 +65,7 @@ static int mtv_probe(AVProbeData *p)
|
||||
static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
{
|
||||
MTVDemuxContext *mtv = s->priv_data;
|
||||
ByteIOContext *pb = &s->pb;
|
||||
ByteIOContext *pb = s->pb;
|
||||
AVStream *st;
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||
static int mtv_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
{
|
||||
MTVDemuxContext *mtv = s->priv_data;
|
||||
ByteIOContext *pb = &s->pb;
|
||||
ByteIOContext *pb = s->pb;
|
||||
int ret;
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
int i;
|
||||
|
||||
Reference in New Issue
Block a user