39     if (buf[2] != 
':' || buf[5] != 
':' || buf[8] != 
'.')
 
   46     return ms - packet_time;
 
   52     int buf_size = avpkt->
size;
 
   54     const uint8_t *buf_end = buf + buf_size;
 
   57     int64_t packet_time = 0;
 
   62     if (buf_size < 27 + 7 * 2 + 4 * 3) {
 
   68     if (buf[0] != 
'[' || buf[13] != 
'-' || buf[26] != 
']') {
 
   79     w = bytestream_get_le16(&
buf);
 
   80     h = bytestream_get_le16(&
buf);
 
   83     x = bytestream_get_le16(&
buf);
 
   84     y = bytestream_get_le16(&
buf);
 
   86     bytestream_get_le16(&
buf);
 
   87     bytestream_get_le16(&
buf);
 
   92     bytestream_get_le16(&
buf);
 
   96     sub->rects[0] = 
av_mallocz(
sizeof(*sub->rects[0]));
 
   98     sub->rects[0]->x = x; sub->rects[0]->y = 
y;
 
   99     sub->rects[0]->w = w; sub->rects[0]->h = h;
 
  101     sub->rects[0]->pict.linesize[0] = w;
 
  102     sub->rects[0]->pict.data[0] = 
av_malloc(w * h);
 
  103     sub->rects[0]->nb_colors = 4;
 
  107     for (i = 0; i < sub->rects[0]->nb_colors; i++)
 
  108         ((uint32_t*)sub->rects[0]->pict.data[1])[i] = bytestream_get_be24(&
buf);
 
  110     for (i = 0; i < sub->rects[0]->nb_colors; i++)
 
  111         ((uint32_t*)sub->rects[0]->pict.data[1])[i] |= (has_alpha ? *
buf++ : (i ? 0xff : 0)) << 24;
 
  115     bitmap = sub->rects[0]->pict.data[0];
 
  116     for (
y = 0; 
y < h; 
y++) {
 
  118         if (
y == (h + 1) / 2) bitmap = sub->rects[0]->pict.data[0] + w;
 
  119         for (x = 0; x < w; ) {
 
  123             run = 
FFMIN(run, w - x);
 
  125             if (!run) run = w - x;
 
  126             memset(bitmap, color, run);