@@ -622,7 +622,7 @@ gst_libde265_dec_set_format (VIDEO_DECODER_BASE * parse, VIDEO_STATE * state)
622
622
int j ;
623
623
if (pos + 3 > size ) {
624
624
GST_ELEMENT_ERROR (parse , STREAM , DECODE ,
625
- ("Buffer underrun in extra header (%d >= %d )" , pos + 3 ,
625
+ ("Buffer underrun in extra header (%d >= %ld )" , pos + 3 ,
626
626
size ), (NULL ));
627
627
return FALSE;
628
628
}
@@ -632,14 +632,14 @@ gst_libde265_dec_set_format (VIDEO_DECODER_BASE * parse, VIDEO_STATE * state)
632
632
for (j = 0 ; j < nal_count ; j ++ ) {
633
633
if (pos + 2 > size ) {
634
634
GST_ELEMENT_ERROR (parse , STREAM , DECODE ,
635
- ("Buffer underrun in extra nal header (%d >= %d )" , pos + 2 ,
635
+ ("Buffer underrun in extra nal header (%d >= %ld )" , pos + 2 ,
636
636
size ), (NULL ));
637
637
return FALSE;
638
638
}
639
639
int nal_size = data [pos ] << 8 | data [pos + 1 ];
640
640
if (pos + 2 + nal_size > size ) {
641
641
GST_ELEMENT_ERROR (parse , STREAM , DECODE ,
642
- ("Buffer underrun in extra nal (%d >= %d )" ,
642
+ ("Buffer underrun in extra nal (%d >= %ld )" ,
643
643
pos + 2 + nal_size , size ), (NULL ));
644
644
return FALSE;
645
645
}
0 commit comments