[FFmpeg-cvslog] avcodec/ituh263enc: Fix indentation
Andreas Rheinhardt
git at videolan.org
Sat Jun 21 23:20:16 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun May 25 22:03:12 2025 +0200| [069329ec02577caa011952cf709ceed44e3f7136] | committer: Andreas Rheinhardt
avcodec/ituh263enc: Fix indentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=069329ec02577caa011952cf709ceed44e3f7136
---
libavcodec/ituh263enc.c | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c
index a1eee8cded..ab6edafd4d 100644
--- a/libavcodec/ituh263enc.c
+++ b/libavcodec/ituh263enc.c
@@ -505,22 +505,22 @@ static void h263_encode_block(MPVEncContext *const s, int16_t block[], int n)
code = get_rl_index(rl, last, run, level);
put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]);
if (code == rl->n) {
- if(!CONFIG_FLV_ENCODER || s->c.h263_flv <= 1){
- put_bits(&s->pb, 1, last);
- put_bits(&s->pb, 6, run);
-
- av_assert2(slevel != 0);
-
- if(level < 128)
- put_sbits(&s->pb, 8, slevel);
- else{
- put_bits(&s->pb, 8, 128);
- put_sbits(&s->pb, 5, slevel);
- put_sbits(&s->pb, 6, slevel>>5);
- }
- }else{
+ if (!CONFIG_FLV_ENCODER || s->c.h263_flv <= 1) {
+ put_bits(&s->pb, 1, last);
+ put_bits(&s->pb, 6, run);
+
+ av_assert2(slevel != 0);
+
+ if (level < 128) {
+ put_sbits(&s->pb, 8, slevel);
+ } else {
+ put_bits(&s->pb, 8, 128);
+ put_sbits(&s->pb, 5, slevel);
+ put_sbits(&s->pb, 6, slevel>>5);
+ }
+ } else {
ff_flv2_encode_ac_esc(&s->pb, slevel, level, run, last);
- }
+ }
} else {
put_bits(&s->pb, 1, sign);
}
More information about the ffmpeg-cvslog
mailing list