From c6c2231227c1d9031de43496dacdbcb309829b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Gro=C3=9Fe?= Date: Thu, 4 Jul 2013 19:02:21 +0200 Subject: [PATCH] libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts Signed-off-by: Michael Niedermayer --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 754d062970..477cdaf4da 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -82,7 +82,7 @@ typedef struct AVCodecInternal { * Internal sample count used by avcodec_encode_audio() to fabricate pts. * Can be removed along with avcodec_encode_audio(). */ - int sample_count; + int64_t sample_count; #endif /**