diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-15 02:31:40 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-15 02:31:40 +0000 |
commit | 1463bd902a44ad3f12f77e1876b91d79ff31d952 (patch) | |
tree | 6455ca972ce86b614a5372db95381fcc0533a7a8 /libavcodec/utils.c | |
parent | a8f6df8a4f8d7cfb030b8dc4fb486b77dea8f7c0 (diff) | |
download | ffmpeg-1463bd902a44ad3f12f77e1876b91d79ff31d952.tar.gz |
cosmetics: reindent after d3abbb1d1
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2d87fa83be..78e0e11fbe 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1021,13 +1021,13 @@ int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int size) } if (avctx) { - av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer); - if (!avpkt->data || avpkt->size < size) { - av_fast_padded_malloc(&avctx->internal->byte_buffer, &avctx->internal->byte_buffer_size, size); - avpkt->data = avctx->internal->byte_buffer; - avpkt->size = avctx->internal->byte_buffer_size; - avpkt->destruct = NULL; - } + av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer); + if (!avpkt->data || avpkt->size < size) { + av_fast_padded_malloc(&avctx->internal->byte_buffer, &avctx->internal->byte_buffer_size, size); + avpkt->data = avctx->internal->byte_buffer; + avpkt->size = avctx->internal->byte_buffer_size; + avpkt->destruct = NULL; + } } if (avpkt->data) { |