Commit 374c17c8 authored by Ben Jackson's avatar Ben Jackson Committed by Michael Niedermayer

lavc/vp56: Re-indent functions affected by threading refactor

All whitespace plus a curly brace.
Signed-off-by: 's avatarBen Jackson <ben@ben.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 39a3894a
......@@ -539,11 +539,12 @@ int ff_vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
return -1;
}
if (res == 2)
if (res == 2) {
if (vp56_size_changed(s)) {
avctx->release_buffer(avctx, p);
return -1;
}
}
if (s->has_alpha) {
buf += alpha_offset;
......@@ -665,7 +666,7 @@ static int ff_vp56_decode_mbs(AVCodecContext *avctx, void *data,
}
}
next:
next:
if (p->key_frame || s->golden_frame) {
s->framep[VP56_FRAME_GOLDEN] = p;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment