[FFmpeg-cvslog] apetag: reindent
Anton Khirnov
git at videolan.org
Mon Jul 2 21:24:15 CEST 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jun 21 19:02:40 2012 +0200| [728d2afa17f2c91b7b8499954ea9abafbc085031] | committer: Anton Khirnov
apetag: reindent
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=728d2afa17f2c91b7b8499954ea9abafbc085031
---
libavformat/apetag.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index bcce169..062f746 100644
--- a/libavformat/apetag.c
+++ b/libavformat/apetag.c
@@ -88,15 +88,15 @@ static int ape_tag_read_field(AVFormatContext *s)
st->attached_pic.stream_index = st->index;
st->attached_pic.flags |= AV_PKT_FLAG_KEY;
} else {
- st->codec->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
- if (!st->codec->extradata)
- return AVERROR(ENOMEM);
- if (avio_read(pb, st->codec->extradata, size) != size) {
- av_freep(&st->codec->extradata);
- return AVERROR(EIO);
- }
- st->codec->extradata_size = size;
- st->codec->codec_type = AVMEDIA_TYPE_ATTACHMENT;
+ st->codec->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
+ if (!st->codec->extradata)
+ return AVERROR(ENOMEM);
+ if (avio_read(pb, st->codec->extradata, size) != size) {
+ av_freep(&st->codec->extradata);
+ return AVERROR(EIO);
+ }
+ st->codec->extradata_size = size;
+ st->codec->codec_type = AVMEDIA_TYPE_ATTACHMENT;
}
} else {
value = av_malloc(size+1);
More information about the ffmpeg-cvslog
mailing list