mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avcodec/vc1_loopfilter: Factor duplicate code in vc1_b_h_intfi_loop_filter()
Fixes: CID1435168 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
97ae47f9e9
commit
63ecce9ba8
@ -1128,9 +1128,6 @@ void vc1_b_h_intfi_loop_filter(VC1Context *v, uint8_t *dest, const uint32_t *cbp
|
||||
dst = dest + (block_num & 2) * 4 * s->linesize + (block_num & 1) * 8;
|
||||
|
||||
if (!(flags & RIGHT_EDGE) || !(block_num & 5)) {
|
||||
if (block_num > 3)
|
||||
v->vc1dsp.vc1_h_loop_filter8(dst + 8, linesize, pq);
|
||||
else
|
||||
v->vc1dsp.vc1_h_loop_filter8(dst + 8, linesize, pq);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user