diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-10-01 21:15:36 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-10-01 21:15:36 +0000 |
commit | 553e9f75297c84939ba1fa8c87cfa0ee6c6a6e84 (patch) | |
tree | a3d2bde64851264c46f80a1bab2246b8b3a72a88 | |
parent | ff0d5a745e92218d3197d7f233d840d3ad0d6042 (diff) | |
download | ffmpeg-streaming-553e9f75297c84939ba1fa8c87cfa0ee6c6a6e84.zip ffmpeg-streaming-553e9f75297c84939ba1fa8c87cfa0ee6c6a6e84.tar.gz |
matroskadec: cosmetics: indentation
Originally committed as revision 20133 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/matroskadec.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index bf69fc2..688169a 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1352,19 +1352,19 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap) track->default_duration, 1000000000, 30000); if (!st->codec->extradata) { - if(extradata){ - st->codec->extradata = extradata; - st->codec->extradata_size = extradata_size; - } else if(track->codec_priv.data && track->codec_priv.size > 0){ - st->codec->extradata = av_mallocz(track->codec_priv.size + - FF_INPUT_BUFFER_PADDING_SIZE); - if(st->codec->extradata == NULL) - return AVERROR(ENOMEM); - st->codec->extradata_size = track->codec_priv.size; - memcpy(st->codec->extradata, - track->codec_priv.data + extradata_offset, - track->codec_priv.size); - } + if(extradata){ + st->codec->extradata = extradata; + st->codec->extradata_size = extradata_size; + } else if(track->codec_priv.data && track->codec_priv.size > 0){ + st->codec->extradata = av_mallocz(track->codec_priv.size + + FF_INPUT_BUFFER_PADDING_SIZE); + if(st->codec->extradata == NULL) + return AVERROR(ENOMEM); + st->codec->extradata_size = track->codec_priv.size; + memcpy(st->codec->extradata, + track->codec_priv.data + extradata_offset, + track->codec_priv.size); + } } if (track->type == MATROSKA_TRACK_TYPE_VIDEO) { |