mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
Revert "Add assert that the avcodec lock is held when initializing static VLC tables."
This reverts commit dd154198b1afa9f3f740eb0b2ccd7ab665f8edd4.
This commit is contained in:
parent
d7169280a6
commit
eed865540a
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include "libavutil/avassert.h"
|
#include "libavutil/avassert.h"
|
||||||
#include "avcodec.h"
|
#include "avcodec.h"
|
||||||
#include "internal.h"
|
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
#include "get_bits.h"
|
#include "get_bits.h"
|
||||||
#include "put_bits.h"
|
#include "put_bits.h"
|
||||||
@ -276,7 +275,6 @@ int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes,
|
|||||||
}else if(vlc->table_size){
|
}else if(vlc->table_size){
|
||||||
abort(); // fatal error, we are called on a partially initialized table
|
abort(); // fatal error, we are called on a partially initialized table
|
||||||
}
|
}
|
||||||
av_assert0(ff_avcodec_locked);
|
|
||||||
}else {
|
}else {
|
||||||
vlc->table = NULL;
|
vlc->table = NULL;
|
||||||
vlc->table_allocated = 0;
|
vlc->table_allocated = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user