Revision e36a3906

View differences:

libavformat/ffmdec.c
252 252
}
253 253

  
254 254

  
255
static int ffm_close(AVFormatContext *s);
255
static int ffm_close(AVFormatContext *s)
256
{
257
    int i;
258

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

  
262
    return 0;
263
}
264

  
256 265

  
257 266
static int ffm_read_header(AVFormatContext *s, AVFormatParameters *ap)
258 267
{
......
509 518
    return 0;
510 519
}
511 520

  
512
static int ffm_close(AVFormatContext *s)
513
{
514
    int i;
515

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

  
519
    return 0;
520
}
521

  
522 521
AVInputFormat ffm_demuxer = {
523 522
    "ffm",
524 523
    NULL_IF_CONFIG_SMALL("FFM (FFserver live feed) format"),

Also available in: Unified diff