[FFmpeg-cvslog] r13832 - trunk/libavformat/ffmdec.c
bcoudurier
subversion
Fri Jun 20 00:50:17 CEST 2008
Author: bcoudurier
Date: Fri Jun 20 00:50:17 2008
New Revision: 13832
Log:
ffm has no per stream priv_data anymore
Modified:
trunk/libavformat/ffmdec.c
Modified: trunk/libavformat/ffmdec.c
==============================================================================
--- trunk/libavformat/ffmdec.c (original)
+++ trunk/libavformat/ffmdec.c Fri Jun 20 00:50:17 2008
@@ -344,7 +344,6 @@ static int ffm_read_header(AVFormatConte
for(i=0;i<s->nb_streams;i++) {
st = s->streams[i];
if (st) {
- av_freep(&st->priv_data);
av_free(st);
}
}
@@ -466,18 +465,6 @@ static int ffm_seek(AVFormatContext *s,
return 0;
}
-static int ffm_read_close(AVFormatContext *s)
-{
- AVStream *st;
- int i;
-
- for(i=0;i<s->nb_streams;i++) {
- st = s->streams[i];
- av_freep(&st->priv_data);
- }
- return 0;
-}
-
static int ffm_probe(AVProbeData *p)
{
if (
@@ -494,6 +481,6 @@ AVInputFormat ffm_demuxer = {
ffm_probe,
ffm_read_header,
ffm_read_packet,
- ffm_read_close,
+ NULL,
ffm_seek,
};
More information about the ffmpeg-cvslog
mailing list