Revision 2034ba08 libavcodec/mpeg4videodec.c

View differences:

libavcodec/mpeg4videodec.c
1495 1495
static int mpeg4_decode_gop_header(MpegEncContext * s, GetBitContext *gb){
1496 1496
    int hours, minutes, seconds;
1497 1497

  
1498
    if(!show_bits(gb, 18)){
1499
        av_log(s->avctx, AV_LOG_WARNING, "GOP header invalid\n");
1500
        return -1;
1501
    }
1502

  
1498 1503
    hours= get_bits(gb, 5);
1499 1504
    minutes= get_bits(gb, 6);
1500 1505
    skip_bits1(gb);

Also available in: Unified diff