aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAnton Khirnov2016-04-13 17:33:59 +0200
committerAnton Khirnov2016-04-24 10:06:25 +0200
commit2e5bde956519ae19cedfa482e199518e495bcaf5 (patch)
tree9743e47edd058c748fea90ada35ca267ba81e6e7 /libavcodec/h264.h
parente3c9041cfe2e6526802255583d27abf9a921863e (diff)
h264: eliminate max_contexts
It is always equal to nb_slice_ctx.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index cb38664ba1..d1cd37dee9 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -584,14 +584,6 @@ typedef struct H264Context {
*/
int current_slice;
- /**
- * Max number of threads / contexts.
- * This is equal to AVCodecContext.thread_count unless
- * multithreaded decoding is impossible, in which case it is
- * reduced to 1.
- */
- int max_contexts;
-
/** @} */
/**