typo found by Chengji Zhao
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 12 May 2005 23:34:23 +0000 (23:34 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 May 2005 23:34:23 +0000 (23:34 +0000)
Originally committed as revision 4231 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 78cfc51..436be57 100644 (file)
@@ -3217,7 +3217,7 @@ static int fill_default_ref_list(H264Context *h){
                     // L0 and L1 are identical
                     Picture temp= h->default_ref_list[1][0];
                     h->default_ref_list[1][0] = h->default_ref_list[1][1];
-                    h->default_ref_list[1][0] = temp;
+                    h->default_ref_list[1][1] = temp;
                 }
 
                 if(index < h->ref_count[ list ])