[FFmpeg-cvslog] libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts

Peter Große git at videolan.org
Fri Jul 5 13:49:58 CEST 2013


ffmpeg | branch: master | Peter Große <bugs at friiks.de> | Thu Jul  4 19:02:21 2013 +0200| [c6c2231227c1d9031de43496dacdbcb309829b4d] | committer: Michael Niedermayer

libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6c2231227c1d9031de43496dacdbcb309829b4d
---

 libavcodec/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 754d062..477cdaf 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
 
     /**



More information about the ffmpeg-cvslog mailing list