OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c47db
)
* Get the buffer size right now we have the buffer inside the FFStream block
author
Philip Gladstone
<philipjsg@users.sourceforge.net>
Wed, 5 Jun 2002 02:21:10 +0000
(
02:21
+0000)
committer
Philip Gladstone
<philipjsg@users.sourceforge.net>
Wed, 5 Jun 2002 02:21:10 +0000
(
02:21
+0000)
Originally committed as revision 666 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/ffm.c
patch
|
blob
|
history
diff --git
a/libav/ffm.c
b/libav/ffm.c
index
9ae03e7
..
1d1564a
100644
(file)
--- 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;