Revision e590448c libavformat/wtv.c

View differences:

libavformat/wtv.c
892 892
            }
893 893
        } else if (!ff_guidcmp(g, data_guid)) {
894 894
            int stream_index = ff_find_stream_index(s, sid);
895
            if (mode == SEEK_TO_DATA && stream_index >= 0) {
895
            if (mode == SEEK_TO_DATA && stream_index >= 0 && len > 32) {
896 896
                WtvStream *wst = s->streams[stream_index]->priv_data;
897 897
                wst->seen_data = 1;
898 898
                if (len_ptr) {

Also available in: Unified diff