Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: trunk/src/media/ffmpeg/ffmpeg_common.h

Issue 296483012: Revert 271945 "Roll FFmpeg for M37." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/media/ffmpeg/ffmpeg_common.h
===================================================================
--- trunk/src/media/ffmpeg/ffmpeg_common.h (revision 271953)
+++ trunk/src/media/ffmpeg/ffmpeg_common.h (working copy)
@@ -19,14 +19,6 @@
// Include FFmpeg header files.
extern "C" {
-// Disable deprecated features which result in spammy compile warnings. This
-// list of defines must mirror those in the 'defines' section of the ffmpeg.gyp
-// file or the headers below will generate different structures.
-#define FF_API_PIX_FMT_DESC 0
-#define FF_API_OLD_DECODE_AUDIO 0
-#define FF_API_DESTRUCT_PACKET 0
-#define FF_API_GET_BUFFER 0
-
// Temporarily disable possible loss of data warning.
// TODO(scherkus): fix and upstream the compiler warnings.
MSVC_PUSH_DISABLE_WARNING(4244);
@@ -69,7 +61,7 @@
inline void ScopedPtrAVFreeFrame::operator()(void* x) const {
AVFrame* frame = static_cast<AVFrame*>(x);
- av_frame_free(&frame);
+ avcodec_free_frame(&frame);
}
// Converts an int64 timestamp in |time_base| units to a base::TimeDelta.
« no previous file with comments | « trunk/src/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc ('k') | trunk/src/media/ffmpeg/ffmpeg_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698