[Ffmpeg-cvslog] r5610 - trunk/libavcodec/cavs.c
michael
subversion
Tue Jul 4 18:30:14 CEST 2006
Author: michael
Date: Tue Jul 4 18:30:14 2006
New Revision: 5610
Modified:
trunk/libavcodec/cavs.c
Log:
minor simplificationn
Modified: trunk/libavcodec/cavs.c
==============================================================================
--- trunk/libavcodec/cavs.c (original)
+++ trunk/libavcodec/cavs.c Tue Jul 4 18:30:14 2006
@@ -385,12 +385,10 @@
#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;
}
}
More information about the ffmpeg-cvslog
mailing list