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

吴 坚 wujianseven at hotmail.com
Sat Jul 10 14:23:01 CEST 2004


I am surprised that the h->mb is an variable of an struct type,but in x264 
encoder it is used as an pointer type,and the x264 encoder can run 
rightly.Is "mb = &h->mb[mb_xy];" pseudocode?I think so.
     Thought I hear that the ffmpeg is strongthen,I have not used  and know 
a little.
I have several problems about H264 in libavcodec:
1.  Can its H264 decoder be taken out solely to use rightly?
2. I hear that this H264 decoder has a bug, I don't know what it is;
thanks
    


>From: Måns Rullgård <mru at mru.ath.cx>
>Reply-To: x264-devel at videolan.org
>To: x264-devel at videolan.org
>Subject: [x264-devel] Re: some problems of x264 decoder
>Date: Sat, 10 Jul 2004 09:07:29 +0200
>
>Îâ ¼á <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?
>
>--
>Måns Rullgård
>mru at mru.ath.cx


-- 
This is the x264-devel mailing-list
If you are in trouble, please contact <postmaster at videolan.org>



More information about the x264-devel mailing list