|
|
@@ -2563,7 +2563,7 @@ static Picture * remove_short(H264Context *h, int frame_num){ |
|
|
|
for(i=0; i<h->short_ref_count; i++){ |
|
|
|
Picture *pic= h->short_ref[i]; |
|
|
|
if(s->avctx->debug&FF_DEBUG_MMCO) |
|
|
|
printf("%d %d %X\n", i, pic->frame_num, (int)pic); |
|
|
|
printf("%d %d %p\n", i, pic->frame_num, pic); |
|
|
|
if(pic->frame_num == frame_num){ |
|
|
|
h->short_ref[i]= NULL; |
|
|
|
memmove(&h->short_ref[i], &h->short_ref[i+1], (h->short_ref_count - i - 1)*sizeof(Picture*)); |
|
|
|