Browse Source

lsp: change assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
507d2d28d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/lsp.c

+ 1
- 1
libavcodec/lsp.c View File

@@ -75,7 +75,7 @@ static int16_t ff_cos(uint16_t arg)
uint8_t offset= arg;
uint8_t ind = arg >> 8;

assert(arg <= 0x3fff);
av_assert2(arg <= 0x3fff);

return tab_cos[ind] + (offset * (tab_cos[ind+1] - tab_cos[ind]) >> 8);
}


Loading…
Cancel
Save