Revision e16ead07 libavformat/cafdec.c

View differences:

libavformat/cafdec.c
185 185
    for (i = 0; i < nb_entries; i++) {
186 186
        char key[32];
187 187
        char value[1024];
188
        get_strz(pb, key, sizeof(key));
189
        get_strz(pb, value, sizeof(value));
188
        avio_get_str(pb, INT_MAX, key,   sizeof(key));
189
        avio_get_str(pb, INT_MAX, value, sizeof(value));
190 190
        av_metadata_set2(&s->metadata, key, value, 0);
191 191
    }
192 192
}

Also available in: Unified diff