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

Unified Diff: services/media/framework_ffmpeg/ffmpeg_decoder_base.cc

Issue 1833323002: Motown: Add ActiveMultistreamSource model in preparation for the ffmpeg demux with async I/O (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 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
« no previous file with comments | « services/media/framework/stages/util.cc ('k') | services/media/framework_mojo/mojo_producer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/media/framework_ffmpeg/ffmpeg_decoder_base.cc
diff --git a/services/media/framework_ffmpeg/ffmpeg_decoder_base.cc b/services/media/framework_ffmpeg/ffmpeg_decoder_base.cc
index 2c37acd16482eb412a785963a0222b287d1eb155..ce03f96ba3868cc331c9f366c3641123968c565e 100644
--- a/services/media/framework_ffmpeg/ffmpeg_decoder_base.cc
+++ b/services/media/framework_ffmpeg/ffmpeg_decoder_base.cc
@@ -11,7 +11,7 @@ namespace media {
FfmpegDecoderBase::FfmpegDecoderBase(AvCodecContextPtr av_codec_context)
: av_codec_context_(std::move(av_codec_context)),
- av_frame_ptr_(av_frame_alloc()) {
+ av_frame_ptr_(ffmpeg::AvFrame::Create()) {
DCHECK(av_codec_context_);
}
« no previous file with comments | « services/media/framework/stages/util.cc ('k') | services/media/framework_mojo/mojo_producer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698