Revision b6d07000

View differences:

libavcodec/avcodec.h
32 32
#include "libavutil/cpu.h"
33 33

  
34 34
#define LIBAVCODEC_VERSION_MAJOR 52
35
#define LIBAVCODEC_VERSION_MINOR 112
35
#define LIBAVCODEC_VERSION_MINOR 113
36 36
#define LIBAVCODEC_VERSION_MICRO  1
37 37

  
38 38
#define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
......
2902 2902
    int thread_safe_callbacks;
2903 2903

  
2904 2904
    /**
2905
     * VBV delay coded in the last frame (in periods of a 27 MHz clock).
2906
     * Used for compliant TS muxing.
2907
     * - encoding: Set by libavcodec.
2908
     * - decoding: unused.
2909
     */
2910
    uint64_t vbv_delay;
2911

  
2912
    /**
2905 2913
     * Current statistics for PTS correction.
2906 2914
     * - decoding: maintained and used by libavcodec, not intended to be used by user apps
2907 2915
     * - encoding: unused
libavcodec/mpegvideo_enc.c
1381 1381
            s->vbv_delay_ptr[1]  = vbv_delay>>5;
1382 1382
            s->vbv_delay_ptr[2] &= 0x07;
1383 1383
            s->vbv_delay_ptr[2] |= vbv_delay<<3;
1384
            avctx->vbv_delay = vbv_delay*300;
1384 1385
        }
1385 1386
        s->total_bits += s->frame_bits;
1386 1387
        avctx->frame_bits  = s->frame_bits;

Also available in: Unified diff