diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-06-04 22:21:29 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-06-04 22:21:29 +0000 |
commit | 77abe5e8587609af062a338109e617acae981c36 (patch) | |
tree | 75a335f05261c2eb1458ce2b949a2c138dc79c0b | |
parent | eabb8ba4454147b5bb2c38332143bbfea8a57503 (diff) | |
download | ffmpeg-77abe5e8587609af062a338109e617acae981c36.tar.gz |
cosmetics: indentation
Originally committed as revision 9218 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/matroskadec.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index f99de66e5a..51985f2a4b 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -2426,24 +2426,24 @@ matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data, int size, matroska_queue_packet(matroska, pkt); } } else { - pkt = av_mallocz(sizeof(AVPacket)); - /* XXX: prevent data copy... */ - if (av_new_packet(pkt, slice_size) < 0) { - res = AVERROR_NOMEM; - n = laces-1; - break; - } - memcpy (pkt->data, data+slice_offset, slice_size); + pkt = av_mallocz(sizeof(AVPacket)); + /* XXX: prevent data copy... */ + if (av_new_packet(pkt, slice_size) < 0) { + res = AVERROR_NOMEM; + n = laces-1; + break; + } + memcpy (pkt->data, data+slice_offset, slice_size); - if (n == 0) - pkt->flags = is_keyframe; - pkt->stream_index = matroska->tracks[track]->stream_index; + if (n == 0) + pkt->flags = is_keyframe; + pkt->stream_index = matroska->tracks[track]->stream_index; - pkt->pts = timecode; - pkt->pos = pos; - pkt->duration = duration; + pkt->pts = timecode; + pkt->pos = pos; + pkt->duration = duration; - matroska_queue_packet(matroska, pkt); + matroska_queue_packet(matroska, pkt); } if (timecode != AV_NOPTS_VALUE) |