Skip to content

Commit

Permalink
This fixes a small bug in the block encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
aous72 committed Jan 29, 2020
1 parent 86522c8 commit d54a582
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/core/coding/ojph_block_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ namespace ojph {
int fuse = melp->tmp | vlcp->tmp;
if ( ( ((fuse ^ melp->tmp) & mel_mask)
| ((fuse ^ vlcp->tmp) & vlc_mask) ) == 0
&& (fuse != 0xFF))
&& (fuse != 0xFF) && vlcp->pos > 1)
{
melp->buf[melp->pos++] = fuse;
}
Expand Down

0 comments on commit d54a582

Please sign in to comment.