Remove the H264Context parameter from decode_init_vlc() as it is not being used.
Originally committed as revision 6955 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7964ed71e9
commit
c2212338e8
@ -3149,7 +3149,7 @@ static void hl_motion(H264Context *h, uint8_t *dest_y, uint8_t *dest_cb, uint8_t
|
|||||||
prefetch_motion(h, 1);
|
prefetch_motion(h, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void decode_init_vlc(H264Context *h){
|
static void decode_init_vlc(){
|
||||||
static int done = 0;
|
static int done = 0;
|
||||||
|
|
||||||
if (!done) {
|
if (!done) {
|
||||||
@ -3406,7 +3406,7 @@ static int decode_init(AVCodecContext *avctx){
|
|||||||
s->low_delay= 1;
|
s->low_delay= 1;
|
||||||
avctx->pix_fmt= PIX_FMT_YUV420P;
|
avctx->pix_fmt= PIX_FMT_YUV420P;
|
||||||
|
|
||||||
decode_init_vlc(h);
|
decode_init_vlc();
|
||||||
|
|
||||||
if(avctx->extradata_size > 0 && avctx->extradata &&
|
if(avctx->extradata_size > 0 && avctx->extradata &&
|
||||||
*(char *)avctx->extradata == 1){
|
*(char *)avctx->extradata == 1){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user