# HG changeset patch # User reimar # Date 1308688195 0 # Node ID 3348a9e99214eb4d47d1fe99b7ce03fb7a8c43b8 # Parent a761fc66ddc7e9aca00723e8704b89cf944a2fbd Indentation fixes. diff -r a761fc66ddc7 -r 3348a9e99214 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Tue Jun 21 20:28:53 2011 +0000 +++ b/libmpdemux/demux_lavf.c Tue Jun 21 20:29:55 2011 +0000 @@ -530,10 +530,10 @@ av_strlcat(mp_filename, "foobar.dummy", sizeof(mp_filename)); if (!(priv->avif->flags & AVFMT_NOFILE)) { - priv->pb = av_alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0, - demuxer, mp_read, NULL, mp_seek); - priv->pb->read_seek = mp_read_seek; - priv->pb->is_streamed = !demuxer->stream->end_pos || (demuxer->stream->flags & MP_STREAM_SEEK) != MP_STREAM_SEEK; + priv->pb = av_alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0, + demuxer, mp_read, NULL, mp_seek); + priv->pb->read_seek = mp_read_seek; + priv->pb->is_streamed = !demuxer->stream->end_pos || (demuxer->stream->flags & MP_STREAM_SEEK) != MP_STREAM_SEEK; } if(av_open_input_stream(&avfc, priv->pb, mp_filename, priv->avif, &ap)<0){ @@ -840,7 +840,7 @@ lavf_priv_t* priv = demuxer->priv; if (priv){ if(priv->avfc) - { + { av_freep(&priv->avfc->key); av_close_input_stream(priv->avfc); }