Mercurial > libavcodec.hg
comparison cavs.c @ 3407:f5f2d05b54ac libavcodec
minor simplificationn
author | michael |
---|---|
date | Tue, 04 Jul 2006 16:30:14 +0000 |
parents | fc0eb7836ccb |
children | 73c648ae1c74 |
comparison
equal
deleted
inserted
replaced
3406:75ab0c53742a | 3407:f5f2d05b54ac |
---|---|
383 } | 383 } |
384 | 384 |
385 #undef LOWPASS | 385 #undef LOWPASS |
386 | 386 |
387 static inline void modify_pred(const int_fast8_t *mod_table, int *mode) { | 387 static inline void modify_pred(const int_fast8_t *mod_table, int *mode) { |
388 int newmode = mod_table[*mode]; | 388 *mode = mod_table[*mode]; |
389 if(newmode < 0) { | 389 if(*mode < 0) { |
390 av_log(NULL, AV_LOG_ERROR, "Illegal intra prediction mode\n"); | 390 av_log(NULL, AV_LOG_ERROR, "Illegal intra prediction mode\n"); |
391 *mode = 0; | 391 *mode = 0; |
392 } else { | |
393 *mode = newmode; | |
394 } | 392 } |
395 } | 393 } |
396 | 394 |
397 /***************************************************************************** | 395 /***************************************************************************** |
398 * | 396 * |