Mercurial > libavcodec.hg
changeset 5469:0418cc1c3899 libavcodec
indentation
author | bcoudurier |
---|---|
date | Sat, 04 Aug 2007 13:18:30 +0000 |
parents | 74949d4ea79c |
children | fea6732bc199 |
files | dnxhddec.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dnxhddec.c Sat Aug 04 13:17:53 2007 +0000 +++ b/dnxhddec.c Sat Aug 04 13:18:30 2007 +0000 @@ -336,12 +336,12 @@ avcodec_set_dimensions(avctx, ctx->width, ctx->height); if (first_field) { - if (ctx->picture.data[0]) - avctx->release_buffer(avctx, &ctx->picture); - if (avctx->get_buffer(avctx, &ctx->picture) < 0) { - av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); - return -1; - } + if (ctx->picture.data[0]) + avctx->release_buffer(avctx, &ctx->picture); + if (avctx->get_buffer(avctx, &ctx->picture) < 0) { + av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); + return -1; + } } dnxhd_decode_macroblocks(ctx, buf + 0x280, buf_size - 0x280);