libavcodec: use 64bit counter in deprecated audio encoder API to prevent problems regarding negative dts
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:

committed by
Michael Niedermayer

parent
47ca9f041c
commit
c6c2231227
@@ -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
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user