Browse Source

Revert "Add assert that the avcodec lock is held when initializing static VLC tables."

This reverts commit dd154198b1.
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
eed865540a
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/bitstream.c

+ 0
- 2
libavcodec/bitstream.c View File

@@ -30,7 +30,6 @@

#include "libavutil/avassert.h"
#include "avcodec.h"
#include "internal.h"
#include "mathops.h"
#include "get_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){
abort(); // fatal error, we are called on a partially initialized table
}
av_assert0(ff_avcodec_locked);
}else {
vlc->table = NULL;
vlc->table_allocated = 0;


Loading…
Cancel
Save