aboutsummaryrefslogtreecommitdiffstats
path: root/libav/ffm.c
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-06-05 02:21:10 +0000
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-06-05 02:21:10 +0000
commit16300e23d526f428ca71b5af3486951a5f87b91b (patch)
tree31b511eb151563c029e834ae4d8ba3ef474c09ba /libav/ffm.c
parente4c47db44bb010a08806258561871bb421efe69b (diff)
downloadffmpeg-16300e23d526f428ca71b5af3486951a5f87b91b.tar.gz
* Get the buffer size right now we have the buffer inside the FFStream block
Originally committed as revision 666 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/ffm.c')
-rw-r--r--libav/ffm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libav/ffm.c b/libav/ffm.c
index 9ae03e7d15..1d1564a639 100644
--- a/libav/ffm.c
+++ b/libav/ffm.c
@@ -141,7 +141,7 @@ static int ffm_write_header(AVFormatContext *s)
/* list of streams */
for(i=0;i<s->nb_streams;i++) {
st = s->streams[i];
- fst = av_mallocz(sizeof(FFMStream) + ffm->packet_size);
+ fst = av_mallocz(sizeof(FFMStream));
if (!fst)
goto fail;
st->priv_data = fst;
@@ -383,7 +383,7 @@ static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (!st)
goto fail;
s->streams[i] = st;
- fst = av_mallocz(sizeof(FFMStream) + ffm->packet_size);
+ fst = av_mallocz(sizeof(FFMStream));
if (!fst)
goto fail;
st->priv_data = fst;