summaryrefslogtreecommitdiff
path: root/libavcodec/h263.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-04-17 12:57:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-04-17 12:57:47 +0000
commitc2394854edf85af75c36ef974fa85433b0c15fc0 (patch)
tree38e7c641d598d15488b1ad11fbef6a916742ea66 /libavcodec/h263.c
parent6e21a5b1ae208aa77b70207207e7048ed841f889 (diff)
Remove useless assignment from h263_pred_dc() found by the clang static analyzer.
Originally committed as revision 18547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r--libavcodec/h263.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index 6e6d156866..a4eb2fd2b9 100644
--- a/libavcodec/h263.c
+++ b/libavcodec/h263.c
@@ -1580,7 +1580,6 @@ static int h263_pred_dc(MpegEncContext * s, int n, int16_t **dc_val_ptr)
if(n!=2) c= 1024;
if(n!=1 && s->mb_x == s->resync_mb_x) a= 1024;
}
- pred_dc = 1024;
/* just DC prediction */
if (a != 1024 && c != 1024)
pred_dc = (a + c) >> 1;