Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-06-21 21:02:40 +0400
committerAnton Khirnov <anton@khirnov.net>2012-07-02 18:16:38 +0400
commit728d2afa17f2c91b7b8499954ea9abafbc085031 (patch)
treef377334b15da9a6212e4b4cf47b2bbe5797926e6 /libavformat/apetag.c
parent02a951b919c4968f2b04abe834782759746e014b (diff)
apetag: reindent
Diffstat (limited to 'libavformat/apetag.c')
-rw-r--r--libavformat/apetag.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/apetag.c b/libavformat/apetag.c
index bcce169e20..062f74632c 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);