diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-02 11:59:02 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-02 14:10:21 +0100 |
commit | b23692b3a8e0ada389d28e28a78a58ac1e15af0e (patch) | |
tree | 4de38d5ffb0fca6a1121de6993ca4495622c896c /libavcodec/hevc.c | |
parent | 1a6948fa708d7f0a950f9caa0256e2d73740e924 (diff) | |
download | ffmpeg-b23692b3a8e0ada389d28e28a78a58ac1e15af0e.tar.gz |
libavcodec/hevc: reduce whitespace differences to 064698d381e1e7790f21b0199a8930ea04e2e942
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r-- | libavcodec/hevc.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 62ae09bbe8..77543a3ed7 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -29,7 +29,6 @@ #include "libavutil/internal.h" #include "libavutil/md5.h" #include "libavutil/opt.h" - #include "libavutil/pixdesc.h" #include "bytestream.h" @@ -1705,6 +1704,7 @@ static int hls_coding_quadtree(HEVCContext *s, int x0, int y0, const int cb_size_split = cb_size >> 1; const int x1 = x0 + cb_size_split; const int y1 = y0 + cb_size_split; + int more_data = 0; more_data = hls_coding_quadtree(s, x0, y0, log2_cb_size - 1, cb_depth + 1); @@ -2056,7 +2056,7 @@ static void restore_tqb_pixels(HEVCContext *s) static int hevc_frame_start(HEVCContext *s) { - HEVCLocalContext *lc = s->HEVClc; + HEVCLocalContext *lc = s->HEVClc; int ret; memset(s->horizontal_bs, 0, 2 * s->bs_width * (s->bs_height + 1)); @@ -2209,7 +2209,6 @@ static int decode_nal_unit(HEVCContext *s, const uint8_t *nal, int length) ctb_addr_ts = hls_slice_data_wpp(s, nal, length); else ctb_addr_ts = hls_slice_data(s); - if (ctb_addr_ts >= (s->sps->ctb_width * s->sps->ctb_height)) { s->is_decoded = 1; if ((s->pps->transquant_bypass_enable_flag || @@ -2380,12 +2379,12 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length) if (length < 4) { av_log(s->avctx, AV_LOG_ERROR, "No start code is found.\n"); ret = AVERROR_INVALIDDATA; - goto fail; - } + goto fail; + } } - buf += 3; - length -= 3; + buf += 3; + length -= 3; } if (!s->is_nalff) |