projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d0ad2
)
minor simplificationn
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 4 Jul 2006 16:30:14 +0000
(16:30 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 4 Jul 2006 16:30:14 +0000
(16:30 +0000)
Originally committed as revision 5610 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cavs.c
patch
|
blob
|
history
diff --git
a/libavcodec/cavs.c
b/libavcodec/cavs.c
index
d440210
..
2ad7d94
100644
(file)
--- a/
libavcodec/cavs.c
+++ b/
libavcodec/cavs.c
@@
-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 new
mode = mod_table[*mode];
- if(
new
mode < 0) {
+
*
mode = mod_table[*mode];
+ if(
*
mode < 0) {
av_log(NULL, AV_LOG_ERROR, "Illegal intra prediction mode\n");
*mode = 0;
- } else {
- *mode = newmode;
}
}