mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Cosmetics: fix indentation in lclenc.c
Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7ff7ac60e1
commit
8f033e3e03
@ -52,8 +52,8 @@
|
|||||||
*/
|
*/
|
||||||
typedef struct LclEncContext {
|
typedef struct LclEncContext {
|
||||||
|
|
||||||
AVCodecContext *avctx;
|
AVCodecContext *avctx;
|
||||||
AVFrame pic;
|
AVFrame pic;
|
||||||
PutBitContext pb;
|
PutBitContext pb;
|
||||||
|
|
||||||
// Image type
|
// Image type
|
||||||
@ -175,9 +175,9 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Conservative upper bound taken from zlib v1.2.1 source */
|
/* Conservative upper bound taken from zlib v1.2.1 source */
|
||||||
c->max_comp_size = c->decomp_size + ((c->decomp_size + 7) >> 3) +
|
c->max_comp_size = c->decomp_size + ((c->decomp_size + 7) >> 3) +
|
||||||
((c->decomp_size + 63) >> 6) + 11;
|
((c->decomp_size + 63) >> 6) + 11;
|
||||||
if ((c->comp_buf = av_malloc(c->max_comp_size)) == NULL) {
|
if ((c->comp_buf = av_malloc(c->max_comp_size)) == NULL) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Can't allocate compression buffer.\n");
|
av_log(avctx, AV_LOG_ERROR, "Can't allocate compression buffer.\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user