summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-13 17:28:26 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:25 +0200
commite0652795292223f8bc8e5bac019c1fca7323d23c (patch)
tree541a7062d985aa0ed10c59fbae986e2bb8a1609a /libavcodec/h264.h
parent4fd34e639d15b44e02686c9b4ef58c9c3c9b0a69 (diff)
h264: remove an artificial restriction on the number of slice threads
This limit is now unnecessary, we can easily support an arbitrary number of threads.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 5c2c8109b2..cb38664ba1 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -49,7 +49,6 @@
#include "videodsp.h"
#define H264_MAX_PICTURE_COUNT 32
-#define H264_MAX_THREADS 16
#define MAX_SPS_COUNT 32
#define MAX_PPS_COUNT 256
@@ -593,8 +592,6 @@ typedef struct H264Context {
*/
int max_contexts;
- int slice_context_count;
-
/** @} */
/**