Revision 6e77feb2

View differences:

libavcodec/h264.c
986 986
        cnt = *(p++); // Number of pps
987 987
        for (i = 0; i < cnt; i++) {
988 988
            nalsize = AV_RB16(p) + 2;
989
            if(decode_nal_units(h, p, nalsize)  != nalsize) {
989
            if(decode_nal_units(h, p, nalsize) < 0) {
990 990
                av_log(avctx, AV_LOG_ERROR, "Decoding pps %d from avcC failed\n", i);
991 991
                return -1;
992 992
            }

Also available in: Unified diff