diff options
Diffstat (limited to 'libavcodec/smc.c')
-rw-r--r-- | libavcodec/smc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c index 24be54dbf1..be02b162d8 100644 --- a/libavcodec/smc.c +++ b/libavcodec/smc.c @@ -453,16 +453,16 @@ static int smc_decode_frame(AVCodecContext *avctx, { SmcContext *s = (SmcContext *)avctx->priv_data; - /* no supplementary picture */ - if (buf_size == 0) - return 0; + /* no supplementary picture */ + if (buf_size == 0) + return 0; s->buf = buf; s->size = buf_size; s->frame.reference = 1; - s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | - FF_BUFFER_HINTS_REUSABLE | FF_BUFFER_HINTS_READABLE; + s->frame.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | + FF_BUFFER_HINTS_REUSABLE | FF_BUFFER_HINTS_READABLE; if (avctx->reget_buffer(avctx, &s->frame)) { printf ("reget_buffer() failed\n"); return -1; |