Mercurial > libavcodec.hg
comparison dnxhddec.c @ 5469:0418cc1c3899 libavcodec
indentation
author | bcoudurier |
---|---|
date | Sat, 04 Aug 2007 13:18:30 +0000 |
parents | 74949d4ea79c |
children | fea6732bc199 |
comparison
equal
deleted
inserted
replaced
5468:74949d4ea79c | 5469:0418cc1c3899 |
---|---|
334 if (avcodec_check_dimensions(avctx, ctx->width, ctx->height)) | 334 if (avcodec_check_dimensions(avctx, ctx->width, ctx->height)) |
335 return -1; | 335 return -1; |
336 avcodec_set_dimensions(avctx, ctx->width, ctx->height); | 336 avcodec_set_dimensions(avctx, ctx->width, ctx->height); |
337 | 337 |
338 if (first_field) { | 338 if (first_field) { |
339 if (ctx->picture.data[0]) | 339 if (ctx->picture.data[0]) |
340 avctx->release_buffer(avctx, &ctx->picture); | 340 avctx->release_buffer(avctx, &ctx->picture); |
341 if (avctx->get_buffer(avctx, &ctx->picture) < 0) { | 341 if (avctx->get_buffer(avctx, &ctx->picture) < 0) { |
342 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); | 342 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
343 return -1; | 343 return -1; |
344 } | 344 } |
345 } | 345 } |
346 | 346 |
347 dnxhd_decode_macroblocks(ctx, buf + 0x280, buf_size - 0x280); | 347 dnxhd_decode_macroblocks(ctx, buf + 0x280, buf_size - 0x280); |
348 | 348 |
349 if (first_field && ctx->picture.interlaced_frame) { | 349 if (first_field && ctx->picture.interlaced_frame) { |