aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-09-28 22:24:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-09-28 22:28:47 +0200
commit237d31e0b98b95eef687e612177ca3ea24b709fc (patch)
tree8a7359a9300ff116d5e18e3824c8d6495b872e1c /libavcodec
parentdc9ce40069bde3d28f8d0b3e5bd733ae255fecb5 (diff)
downloadffmpeg-237d31e0b98b95eef687e612177ca3ea24b709fc.tar.gz
h264: fix FIXME and use list_count in ff_h264_fill_mbaff_ref_list()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_refs.c b/libavcodec/h264_refs.c
index 0f91020a2d..20c75d089d 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];