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

Unified Diff: trunk/src/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc

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/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc
===================================================================
--- trunk/src/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc (revision 271953)
+++ trunk/src/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_video_decoder.cc (working copy)
@@ -226,7 +226,7 @@
codec_context_->reordered_opaque = timestamp;
// Reset frame to default values.
- av_frame_unref(av_frame_.get());
+ avcodec_get_frame_defaults(av_frame_.get());
// This is for codecs not using get_buffer to initialize
// |av_frame_->reordered_opaque|
« no previous file with comments | « trunk/src/media/cdm/ppapi/external_clear_key/ffmpeg_cdm_audio_decoder.cc ('k') | trunk/src/media/ffmpeg/ffmpeg_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698