Revision 22a3212e ffserver.c

View differences:

ffserver.c
3764 3764
            }
3765 3765

  
3766 3766
            /* only write the header of the ffm file */
3767
            if (url_fopen(&s->pb, feed->feed_filename, URL_WRONLY) < 0) {
3767
            if (avio_open(&s->pb, feed->feed_filename, URL_WRONLY) < 0) {
3768 3768
                http_log("Could not open output feed file '%s'\n",
3769 3769
                         feed->feed_filename);
3770 3770
                exit(1);
......
3783 3783
            }
3784 3784
            /* XXX: need better api */
3785 3785
            av_freep(&s->priv_data);
3786
            url_fclose(s->pb);
3786
            avio_close(s->pb);
3787 3787
        }
3788 3788
        /* get feed size and write index */
3789 3789
        fd = open(feed->feed_filename, O_RDONLY);

Also available in: Unified diff