Mercurial > libavcodec.hg
comparison h264.c @ 7421:74534206d329 libavcodec
And.... Fix another spec reference to be more specific and correct.
author | heydowns |
---|---|
date | Sat, 26 Jul 2008 18:38:30 +0000 |
parents | 30e8c4bf08a4 |
children | 2eb0e5a2efad |
comparison
equal
deleted
inserted
replaced
7420:30e8c4bf08a4 | 7421:74534206d329 |
---|---|
3416 if (!current_ref_assigned) { | 3416 if (!current_ref_assigned) { |
3417 /* Second field of complementary field pair; the first field of | 3417 /* Second field of complementary field pair; the first field of |
3418 * which is already referenced. If short referenced, it | 3418 * which is already referenced. If short referenced, it |
3419 * should be first entry in short_ref. If not, it must exist | 3419 * should be first entry in short_ref. If not, it must exist |
3420 * in long_ref; trying to put it on the short list here is an | 3420 * in long_ref; trying to put it on the short list here is an |
3421 * error in the encoded bit stream (ref: 7.4.3, NOTE 2 and 3). | 3421 * error in the encoded bit stream (ref: 7.4.3.3, NOTE 2 and 3). |
3422 */ | 3422 */ |
3423 if (h->short_ref_count && h->short_ref[0] == s->current_picture_ptr) { | 3423 if (h->short_ref_count && h->short_ref[0] == s->current_picture_ptr) { |
3424 /* Just mark the second field valid */ | 3424 /* Just mark the second field valid */ |
3425 s->current_picture_ptr->reference = PICT_FRAME; | 3425 s->current_picture_ptr->reference = PICT_FRAME; |
3426 } else if (s->current_picture_ptr->long_ref) { | 3426 } else if (s->current_picture_ptr->long_ref) { |