aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-08-04 13:18:30 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-08-04 13:18:30 +0000
commit3c605485bbdfc3a2457821616e691fd2a764af8f (patch)
tree74b9b5e906d3b252e1254c6aa86910f34dfd392b /libavcodec
parent6b259e439c4c9cadaea2dd0748b93870cb2b0dd0 (diff)
downloadffmpeg-3c605485bbdfc3a2457821616e691fd2a764af8f.tar.gz
indentation
Originally committed as revision 9902 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dnxhddec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index ffb007bff8..86dd6088d3 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -336,12 +336,12 @@ static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
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);