Revision 82badd27

View differences:

libavformat/nutenc.c
216 216

  
217 217
    put_v(bc, 3); /* version */
218 218
    put_v(bc, nut->avf->nb_streams);
219
    put_v(bc, MAX_DISTANCE);
219
    put_v(bc, nut->max_distance);
220 220
    put_v(bc, nut->time_base_count);
221 221

  
222 222
    for(i=0; i<nut->time_base_count; i++){
......
418 418
        nut->stream[i].max_pts_distance= FFMAX(1/av_q2d(time_base), 1);
419 419
    }
420 420

  
421
    nut->max_distance = MAX_DISTANCE;
421 422
    build_frame_code(s);
422 423
    assert(nut->frame_code['N'].flags == FLAG_INVALID);
423 424

  
tests/libav.regression.ref
30 30
2ba41cf880aa5cb87e8a08fdb735398d *./tests/data/b-libav.gxf
31 31
814640 ./tests/data/b-libav.gxf
32 32
./tests/data/b-libav.gxf CRC=0xa376c09e
33
79d92ebd1e760575136fb5f0782d5151 *./tests/data/b-libav.nut
34
331022 ./tests/data/b-libav.nut
33
5b6d03cfa8ccb701bec3c0f0e562e0da *./tests/data/b-libav.nut
34
330100 ./tests/data/b-libav.nut
35 35
./tests/data/b-libav.nut CRC=0x400c29e9
36 36
43238b15f1012aa27536c2be20bb2383 *./tests/data/b-libav.mkv
37 37
329854 ./tests/data/b-libav.mkv

Also available in: Unified diff