Commit b2d52688 authored by michael's avatar michael

minor simplificationn


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5610 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 46719f0c
......@@ -385,12 +385,10 @@ static void intra_pred_lp_top(uint8_t *d,uint8_t *top,uint8_t *left,int stride)
#undef LOWPASS
static inline void modify_pred(const int_fast8_t *mod_table, int *mode) {
int newmode = mod_table[*mode];
if(newmode < 0) {
*mode = mod_table[*mode];
if(*mode < 0) {
av_log(NULL, AV_LOG_ERROR, "Illegal intra prediction mode\n");
*mode = 0;
} else {
*mode = newmode;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment