[FFmpeg-cvslog] h264: fix FIXME and use list_count in ff_h264_fill_mbaff_ref_list()
Michael Niedermayer
git at videolan.org
Sat Oct 1 21:38:46 CEST 2011
ffmpeg | branch: release/0.8 | Michael Niedermayer <michaelni at gmx.at> | Wed Sep 28 22:24:05 2011 +0200| [ceede3a802478b6cf0c1cd7d54b76b4af8d00d56] | committer: Michael Niedermayer
h264: fix FIXME and use list_count in ff_h264_fill_mbaff_ref_list()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 237d31e0b98b95eef687e612177ca3ea24b709fc)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ceede3a802478b6cf0c1cd7d54b76b4af8d00d56
---
libavcodec/h264_refs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 83a5564..063ac97 100644
--- a/libavcodec/h264_refs.c
+++ b/libavcodec/h264_refs.c
@@ -301,7 +301,7 @@ int ff_h264_decode_ref_pic_list_reordering(H264Context *h){
void ff_h264_fill_mbaff_ref_list(H264Context *h){
int list, i, j;
- for(list=0; list<2; list++){ //FIXME try list_count
+ for(list=0; list<h->list_count; list++){
for(i=0; i<h->ref_count[list]; i++){
Picture *frame = &h->ref_list[list][i];
Picture *field = &h->ref_list[list][16+2*i];
More information about the ffmpeg-cvslog
mailing list