Revision e3c007bb

View differences:

libavformat/flvdec.c
211 211
        case AMF_DATA_TYPE_OBJECT: {
212 212
            unsigned int keylen;
213 213

  
214
            if (!strcmp(KEYFRAMES_TAG, key) && depth == 1)
214
            if (key && !strcmp(KEYFRAMES_TAG, key) && depth == 1)
215 215
                if (parse_keyframes_index(s, ioc, vstream, max_pos) < 0)
216 216
                    return -1;
217 217

  

Also available in: Unified diff