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:
bb428e0
)
lclenc: Mark codec as init-thread-safe and init-cleanup
author
Vittorio Giovara
<vittorio.giovara@gmail.com>
Mon, 6 Apr 2015 23:47:18 +0000
(
01:47
+0200)
committer
Vittorio Giovara
<vittorio.giovara@gmail.com>
Fri, 24 Apr 2015 13:55:11 +0000
(14:55 +0100)
libavcodec/lclenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/lclenc.c
b/libavcodec/lclenc.c
index
acf5e73
..
20841bc
100644
(file)
--- a/
libavcodec/lclenc.c
+++ b/
libavcodec/lclenc.c
@@
-42,6
+42,7
@@
#include <stdlib.h>
#include "avcodec.h"
+#include "internal.h"
#include "lcl.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@
-197,4
+198,6
@@
AVCodec ff_zlib_encoder = {
.encode2 = encode_frame,
.close = encode_end,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
+ FF_CODEC_CAP_INIT_CLEANUP,
};