mirror of https://git.ffmpeg.org/ffmpeg.git
bink: reindent after last commit
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit adb1ad0d80
)
This commit is contained in:
parent
547c67c935
commit
35b8869651
|
@ -1163,13 +1163,13 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
|
||||||
int bits_count = pkt->size << 3;
|
int bits_count = pkt->size << 3;
|
||||||
|
|
||||||
if (c->version > 'b') {
|
if (c->version > 'b') {
|
||||||
if(c->pic.data[0])
|
if(c->pic.data[0])
|
||||||
avctx->release_buffer(avctx, &c->pic);
|
avctx->release_buffer(avctx, &c->pic);
|
||||||
|
|
||||||
if(avctx->get_buffer(avctx, &c->pic) < 0){
|
if(avctx->get_buffer(avctx, &c->pic) < 0){
|
||||||
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
|
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(avctx->reget_buffer(avctx, &c->pic) < 0){
|
if(avctx->reget_buffer(avctx, &c->pic) < 0){
|
||||||
av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
|
av_log(avctx, AV_LOG_ERROR, "reget_buffer() failed\n");
|
||||||
|
|
Loading…
Reference in New Issue