1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +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);
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;
}
@ -124,7 +125,9 @@ AVCodec ff_cljr_decoder = {
#endif
#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;
AVFrame *p = data;
int x, y;