libavformat/mov.c:1429: error: Uninitialized Value
  The value read from size was never initialized.

libavformat/mov.c:1429:25: 
1427.     if (!str)
1428.         return 0;
1429.     get_buffer(pb, str, FFMIN(size, str_size));
                              ^
1430.     dprintf(c->fc, "%.4s %s\n", (char*)&atom.type, str);
1431.     return 0;

static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
{
    char *str = NULL;
    int size;
    uint16_t str_size;
    if (c->itunes_metadata) {
        int data_size = get_be32(pb);
        int tag = get_le32(pb);
        if (tag == MKTAG('d','a','t','a')) {
            get_be32(pb);
            get_be32(pb);
            str_size = data_size - 16;
        } else return 0;
    } else {
        str_size = get_be16(pb);
        get_be16(pb);
    }
    switch (atom.type) {
    case MKTAG(0xa9,'n','a','m'):
        str = c->fc->title; size = sizeof(c->fc->title); break;
    case MKTAG(0xa9,'A','R','T'):
    case MKTAG(0xa9,'w','r','t'):
        str = c->fc->author; size = sizeof(c->fc->author); break;
    case MKTAG(0xa9,'c','p','y'):
        str = c->fc->copyright; size = sizeof(c->fc->copyright); break;
    case MKTAG(0xa9,'c','m','t'):
    case MKTAG(0xa9,'i','n','f'):
        str = c->fc->comment; size = sizeof(c->fc->comment); break;
    case MKTAG(0xa9,'a','l','b'):
        str = c->fc->album; size = sizeof(c->fc->album); break;
    }
    if (!str)
        return 0;
    get_buffer(pb, str, FFMIN(size, str_size));
    dprintf(c->fc, "%.4s %s\n", (char*)&atom.type, str);
    return 0;
}
['static int mov_read_udta_string(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)\n{\n    char *str = NULL;\n    int size;\n    uint16_t str_size;\n    if (c->itunes_metadata) {\n        int data_size = get_be32(pb);\n        int tag = get_le32(pb);\n        if (tag == MKTAG(\'d\',\'a\',\'t\',\'a\')) {\n            get_be32(pb);\n            get_be32(pb);\n            str_size = data_size - 16;\n        } else return 0;\n    } else {\n        str_size = get_be16(pb);\n        get_be16(pb);\n    }\n    switch (atom.type) {\n    case MKTAG(0xa9,\'n\',\'a\',\'m\'):\n        str = c->fc->title; size = sizeof(c->fc->title); break;\n    case MKTAG(0xa9,\'A\',\'R\',\'T\'):\n    case MKTAG(0xa9,\'w\',\'r\',\'t\'):\n        str = c->fc->author; size = sizeof(c->fc->author); break;\n    case MKTAG(0xa9,\'c\',\'p\',\'y\'):\n        str = c->fc->copyright; size = sizeof(c->fc->copyright); break;\n    case MKTAG(0xa9,\'c\',\'m\',\'t\'):\n    case MKTAG(0xa9,\'i\',\'n\',\'f\'):\n        str = c->fc->comment; size = sizeof(c->fc->comment); break;\n    case MKTAG(0xa9,\'a\',\'l\',\'b\'):\n        str = c->fc->album; size = sizeof(c->fc->album); break;\n    }\n    if (!str)\n        return 0;\n    get_buffer(pb, str, FFMIN(size, str_size));\n    dprintf(c->fc, "%.4s %s\\n", (char*)&atom.type, str);\n    return 0;\n}']