diff options
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 23:59:14 +0000 |
---|---|---|
committer | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-22 23:59:14 +0000 |
commit | b2520c779bce29b5ee0613dbb84d93fef0bdb3ea (patch) | |
tree | b0757b50cec03a177917a0c73daf1c7eeb3b174a /third_party/ffmpeg/include | |
parent | 60287ffd30023b51d7f183abb6948a63f9f1eb90 (diff) | |
download | chromium_src-b2520c779bce29b5ee0613dbb84d93fef0bdb3ea.zip chromium_src-b2520c779bce29b5ee0613dbb84d93fef0bdb3ea.tar.gz chromium_src-b2520c779bce29b5ee0613dbb84d93fef0bdb3ea.tar.bz2 |
Refactor FFmpegVideoDecoder::OnDecode and unittest and add state tracking.
The decoder needs a concept of state to know when it should just stop attempting to decode. This is because ffmpeg will sometimes gives spurious frames back, which plays badly with the time presentation timestamp calculation logic.
Review URL: http://codereview.chromium.org/132013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/ffmpeg/include')
-rw-r--r-- | third_party/ffmpeg/include/win/stdint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/ffmpeg/include/win/stdint.h b/third_party/ffmpeg/include/win/stdint.h index 280bdb1..90bb029 100644 --- a/third_party/ffmpeg/include/win/stdint.h +++ b/third_party/ffmpeg/include/win/stdint.h @@ -23,4 +23,9 @@ typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef unsigned long long uint64_t; +// Define the C99 INT64_C macro that is used for declaring 64-bit literals. +// Technically, these should only be definied when __STDC_CONSTANT_MACROS +// is defined. +#define INT64_C(value) value##LL + #endif // THIRD_PARTY_FFMPEG_INCLUDE_WIN_STDINT_H_ |