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:
parent
1c45c64c9d
commit
6b60a4c9c9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user