git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avcodec: remove unecessary check for thread safety on safe libavcodec builds
[vlc.git]
/
modules
/
codec
/
avcodec
/
video.c
diff --git
a/modules/codec/avcodec/video.c
b/modules/codec/avcodec/video.c
index
570d8e1
..
f49e82d
100644
(file)
--- a/
modules/codec/avcodec/video.c
+++ b/
modules/codec/avcodec/video.c
@@
-1348,7
+1348,7
@@
static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
if (!can_hwaccel)
return swfmt;
-#if
(LIBAVCODEC_VERSION_MICRO >= 100) /* FFmpeg only */
+#if
!LIBAVCODEC_VERSION_CHECK(57, 30, 1, 83, 101)
if (p_context->active_thread_type)
{
msg_Warn(p_dec, "thread type %d: disabling hardware acceleration",