Mercurial > mplayer.hg
changeset 33608:3348a9e99214
Indentation fixes.
author | reimar |
---|---|
date | Tue, 21 Jun 2011 20:29:55 +0000 |
parents | a761fc66ddc7 |
children | beec78d9146f |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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); }