summaryrefslogtreecommitdiff
path: root/src/internal/kitdecoder.c
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-06-25 00:06:10 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-06-25 00:06:10 +0300
commit0cf5c3d2e4ac482d28cec4ee7ebf0f407d2921aa (patch)
treeba1f47a07f7213a2459d550b417f606f48dfad16 /src/internal/kitdecoder.c
parentedb37c18b2125e6474020dca9996c62035e6e76a (diff)
Use FF_THREAD_SLICE only
Diffstat (limited to 'src/internal/kitdecoder.c')
-rw-r--r--src/internal/kitdecoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/kitdecoder.c b/src/internal/kitdecoder.c
index 6484e0f..b57cbc4 100644
--- a/src/internal/kitdecoder.c
+++ b/src/internal/kitdecoder.c
@@ -54,7 +54,7 @@ Kit_Decoder* Kit_CreateDecoder(const Kit_Source *src, int stream_index,
// Set thread count
codec_ctx->thread_count = thread_count;
- codec_ctx->thread_type = FF_THREAD_FRAME;
+ codec_ctx->thread_type = FF_THREAD_SLICE;
// Open the stream
if(avcodec_open2(codec_ctx, codec, NULL) < 0) {