Commit 43c71924 authored by diego's avatar diego

The H.263 wrong_run table is only for encoding; only enable it in such cases.

patch by avcoder, ffmpeg gmail com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21013 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6bd6ccc8
...@@ -254,6 +254,7 @@ static RLTable rl_intra_aic = { ...@@ -254,6 +254,7 @@ static RLTable rl_intra_aic = {
intra_level_aic, intra_level_aic,
}; };
#if CONFIG_ENCODERS
static const uint8_t wrong_run[102] = { static const uint8_t wrong_run[102] = {
1, 2, 3, 5, 4, 10, 9, 8, 1, 2, 3, 5, 4, 10, 9, 8,
11, 15, 17, 16, 23, 22, 21, 20, 11, 15, 17, 16, 23, 22, 21, 20,
...@@ -269,6 +270,7 @@ static const uint8_t wrong_run[102] = { ...@@ -269,6 +270,7 @@ static const uint8_t wrong_run[102] = {
11, 12, 13, 14, 1, 21, 20, 18, 11, 12, 13, 14, 1, 21, 20, 18,
19, 2, 1, 34, 35, 36 19, 2, 1, 34, 35, 36
}; };
#endif
static const uint16_t h263_format[8][2] = { static const uint16_t h263_format[8][2] = {
{ 0, 0 }, { 0, 0 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment