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:
025fd76
)
lavc: do not force the emu edge flag
author
Anton Khirnov
<anton@khirnov.net>
Mon, 20 Jan 2014 14:22:09 +0000
(15:22 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 21 Jan 2014 16:54:09 +0000
(17:54 +0100)
The default get_buffer2() implementation (and possibly some
user ones) does not allocate edges when this flag is set, which may
expose bugs in some decoders. Until the 10 release is out, it is safer
to remove this part.
libavcodec/utils.c
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
2e418ec
..
044413a
100644
(file)
--- a/
libavcodec/utils.c
+++ b/
libavcodec/utils.c
@@
-1091,11
+1091,6
@@
int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
ret = AVERROR(EINVAL);
goto free_and_end;
}
-
-#if FF_API_EMU_EDGE
- /* force the emu edge flag on, since it's now always active */
- avctx->flags |= CODEC_FLAG_EMU_EDGE;
-#endif
}
end:
entangled_thread_counter--;