OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcc213c
)
EC: fix dest index for non 420 chroma.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Apr 2012 01:31:58 +0000
(
03:31
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 Apr 2012 01:49:32 +0000
(
03:49
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/error_resilience.c
patch
|
blob
|
history
diff --git
a/libavcodec/error_resilience.c
b/libavcodec/error_resilience.c
index
2691109
..
63f996c
100644
(file)
--- a/
libavcodec/error_resilience.c
+++ b/
libavcodec/error_resilience.c
@@
-48,6
+48,8
@@
static void decode_mb(MpegEncContext *s, int ref)
ff_init_block_index(s);
ff_update_block_index(s);
+ s->dest[1] += (16 >> s->chroma_x_shift) - 8;
+ s->dest[2] += (16 >> s->chroma_x_shift) - 8;
if (CONFIG_H264_DECODER && s->codec_id == CODEC_ID_H264) {
H264Context *h = (void*)s;