pts sample
 avconv.c |  205 ++++++++++++++++++++++++++++++++------------------------------  1 files changed, 105 insertions(+), 100 deletions(-)  diff --git a/avconv.c b/avconv.c index 817c0cf..2246851 100644 --- a/avconv.c +++ b/avconv.c @@ -141,8 +141,7 @@ static float dts_delta_threshold = 10;  static int print_stats = 1;    static uint8_t *audio_buf; -static uint8_t *audio_out; -static unsigned int allocated_audio_out_size, allocated_audio_buf_size; +static unsigned int allocated_audio_buf_size;    #define DEFAULT_PASS_LOGFILENAME_PREFIX "av2pass"   @@ -208,6 +207,7 @@ typedef struct OutputStream {      AVBitStreamFilterContext *bitstream_filters;      AVCodec *enc;      int64_t max_frames; +    AVFrame *output_frame;        /* video only */      int video_resample; @@ -680,6 +680,13 @@ void exit_program(int ret)          }          output_streams[i].bitstream_filters = NULL;   +        if (output_streams[i].output_frame) { +            AVFrame *frame = output_streams[i].output_fram...