[x264-devel] Re: some problems of x264 decoder

Måns Rullgård mru at mru.ath.cx
Sat Jul 10 09:07:29 CEST 2004


吴 坚 <wujianseven at hotmail.com> writes:

> When I compile over redhat9,the following ocurrs:
>
> decoder/decoder.c: In function `x264_slice_data_decode':
> decoder/decoder.c:494: subscripted value is neither array nor pointer
> decoder/decoder.c: In function `x264_decoder_close':
> decoder/decoder.c:776: incompatible type for argument 1 of `x264_free'
>
> 494 line is "mb = &h->mb[mb_xy];"
> 776 line is "x264_free(h->mb);

h->mb is a struct, not a pointer.  My guess is that it used to be a
pointer, and was changed to a struct after the decoder was disabled.

Why not use the H.264 decoder in libavcodec instead?
-------------- next part --------------

-- 
M?ns Rullg?rd
mru at mru.ath.cx


More information about the x264-devel mailing list