1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-02 20:35:37 +02:00

cljr: K&R cosmetics

This commit is contained in:
Diego Biurrun 2011-12-08 15:51:38 +01:00
parent 1c45c64c9d
commit 6b60a4c9c9

View File

@ -60,7 +60,8 @@ static int decode_frame(AVCodecContext *avctx,
avctx->release_buffer(avctx, p); avctx->release_buffer(avctx, p);
if (buf_size / avctx->height < avctx->width) { if (buf_size / avctx->height < avctx->width) {
av_log(avctx, AV_LOG_ERROR, "Resolution larger than buffer size. Invalid header?\n"); av_log(avctx, AV_LOG_ERROR,
"Resolution larger than buffer size. Invalid header?\n");
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
@ -124,7 +125,9 @@ AVCodec ff_cljr_decoder = {
#endif #endif
#if CONFIG_CLJR_ENCODER #if CONFIG_CLJR_ENCODER
static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ static int encode_frame(AVCodecContext *avctx, unsigned char *buf,
int buf_size, void *data)
{
PutBitContext pb; PutBitContext pb;
AVFrame *p = data; AVFrame *p = data;
int x, y; int x, y;