Commit c6c22312 authored by Peter Große's avatar Peter Große Committed by Michael Niedermayer

libavcodec: use 64bit counter in deprecated audio encoder API to prevent...

libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 47ca9f04
...@@ -82,7 +82,7 @@ typedef struct AVCodecInternal { ...@@ -82,7 +82,7 @@ typedef struct AVCodecInternal {
* Internal sample count used by avcodec_encode_audio() to fabricate pts. * Internal sample count used by avcodec_encode_audio() to fabricate pts.
* Can be removed along with avcodec_encode_audio(). * Can be removed along with avcodec_encode_audio().
*/ */
int sample_count; int64_t sample_count;
#endif #endif
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment