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.
This commit is contained in:
Anton Khirnov
2016-04-13 17:28:26 +02:00
parent 4fd34e639d
commit e065279529
3 changed files with 3 additions and 22 deletions

View File

@@ -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;
/** @} */
/**