[Ffmpeg-devel] Re:A Bug in libavcodec\h264.c ?
Fri May 13 01:36:39 CEST 2005
On Friday 13 May 2005 00:52, Chengji Zhao wrote:
> Hi, Michael
> I do not agree that either one is correct.
> In the case of the left MB pair is frame MB encoded and the current MB
> pair is a field MB pair, then the left _type and left_type
> could be different.
i didnt say they cant be different, just that !left_type == !left_type
if iam wrong the assert() i added there will fail
> By the way, I think I find another bug in the code, again it is a typing
> in function fill_default_ref_list(), after the two lists are
> constructed, there is a portion to swap
> the two first elements of L1 when L0 and L1 are indentical. The
> following is the original code
> Picture temp= h->default_ref_list;
> h->default_ref_list = h->default_ref_list;
> h->default_ref_list = temp;
> you can see that the two are not swapped.
More information about the ffmpeg-devel