Browse Source

Fix ffm_close return type.

Originally committed as revision 22432 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Benoit Fouet 15 years ago
parent
commit
114a93c700
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavformat/ffmdec.c

+ 3
- 1
libavformat/ffmdec.c View File

@@ -512,12 +512,14 @@ static int ffm_probe(AVProbeData *p)
return 0; return 0;
} }


static void ffm_close(AVFormatContext *s)
static int ffm_close(AVFormatContext *s)
{ {
int i; int i;


for (i = 0; i < s->nb_streams; i++) for (i = 0; i < s->nb_streams; i++)
av_freep(&s->streams[i]->codec->rc_eq); av_freep(&s->streams[i]->codec->rc_eq);

return 0;
} }


AVInputFormat ffm_demuxer = { AVInputFormat ffm_demuxer = {


Loading…
Cancel
Save