summaryrefslogtreecommitdiffstats
path: root/libavcodec/h263data.h
diff options
context:
space:
mode:
authoravcoder <ffmpeg@gmail.com>2010-01-04 13:21:18 +0000
committerDiego Biurrun <diego@biurrun.de>2010-01-04 13:21:18 +0000
commitb02e9c962bfb38cd0a95aa71eb200a2100d9c08a (patch)
treefa895dfccca9cedf5112454efd2ae84081fff92e /libavcodec/h263data.h
parent81774dd0c4e632bf01a51c240077c57705d5f67c (diff)
downloadffmpeg-streaming-b02e9c962bfb38cd0a95aa71eb200a2100d9c08a.zip
ffmpeg-streaming-b02e9c962bfb38cd0a95aa71eb200a2100d9c08a.tar.gz
The H.263 wrong_run table is only for encoding; only enable it in such cases.
patch by avcoder, ffmpeg gmail com Originally committed as revision 21013 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263data.h')
-rw-r--r--libavcodec/h263data.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h
index 40e4199..cfa5146 100644
--- a/libavcodec/h263data.h
+++ b/libavcodec/h263data.h
@@ -254,6 +254,7 @@ static RLTable rl_intra_aic = {
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 @@ static const uint8_t wrong_run[102] = {
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 },
OpenPOWER on IntegriCloud