diff options
author | Timothy Pearson <[email protected]> | 2014-10-06 14:10:23 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-06 14:10:23 -0500 |
commit | 0e824732db028517232f1f699ba68b2c79d5dc50 (patch) | |
tree | bcc2a6ffa97ac1cc7a8141296bfd33cd51fa91b4 /k9author/k9avidecode.h | |
parent | effa31d902975a70f5856ee03b951f5b26054447 (diff) | |
download | k9copy-0e824732db028517232f1f699ba68b2c79d5dc50.tar.gz k9copy-0e824732db028517232f1f699ba68b2c79d5dc50.zip |
Fix another crash casued by old av_packet_free routine
Diffstat (limited to 'k9author/k9avidecode.h')
-rw-r--r-- | k9author/k9avidecode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/k9author/k9avidecode.h b/k9author/k9avidecode.h index 907533d..912cb85 100644 --- a/k9author/k9avidecode.h +++ b/k9author/k9avidecode.h @@ -78,6 +78,7 @@ typedef void (*av_close_input_file_t)(AVFormatContext *); #endif typedef int (*av_seek_frame_t)(AVFormatContext *,int,int64_t timestamp,int flags); typedef int64_t (*av_rescale_q_t)(int64_t , AVRational , AVRational ) ; typedef void (*avcodec_flush_buffers_t)(AVCodecContext *); +typedef void (*av_free_packet_t)(AVPacket *); #ifdef HAVE_SWSCALE typedef void (*sws_freeContext_t)(struct SwsContext *swsContext); @@ -145,6 +146,7 @@ private: av_rescale_q_t av_rescale_q; av_gettime_t av_gettime; avcodec_flush_buffers_t avcodec_flush_buffers; + av_free_packet_t av_free_packet; # ifdef HAVE_SWSCALE sws_freeContext_t sws_freeContext; sws_getContext_t sws_getContext; |