changeset 10768:0e785b937073 libavcodec

The H.263 wrong_run table is only for encoding; only enable it in such cases. patch by avcoder, ffmpeg gmail com
author diego
date Mon, 04 Jan 2010 13:21:18 +0000
parents 1e0d87fc2818
children 75bb65276023
files h263data.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/h263data.h	Mon Jan 04 09:23:24 2010 +0000
+++ b/h263data.h	Mon Jan 04 13:21:18 2010 +0000
@@ -254,6 +254,7 @@
     intra_level_aic,
 };
 
+#if CONFIG_ENCODERS
 static const uint8_t wrong_run[102] = {
  1,  2,  3,  5,  4, 10,  9,  8,
 11, 15, 17, 16, 23, 22, 21, 20,
@@ -269,6 +270,7 @@
 11, 12, 13, 14,  1, 21, 20, 18,
 19,  2,  1, 34, 35, 36
 };
+#endif
 
 static const uint16_t h263_format[8][2] = {
     { 0, 0 },