Index: media/ffmpeg/ffmpeg_common.cc |
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc |
index 8c29c9bb938b6f0ac4751ebce093d3c60b514c21..1a4e41808006e792eb3ecd3a636f5eaaea0ad7a0 100644 |
--- a/media/ffmpeg/ffmpeg_common.cc |
+++ b/media/ffmpeg/ffmpeg_common.cc |
@@ -254,8 +254,6 @@ void AVStreamToVideoDecoderConfig( |
profile, |
PixelFormatToVideoFormat(stream->codec->pix_fmt), |
coded_size, visible_rect, |
- stream->r_frame_rate.num, |
- stream->r_frame_rate.den, |
aspect_ratio.num, |
aspect_ratio.den, |
stream->codec->extradata, |
@@ -356,14 +354,6 @@ PixelFormat VideoFormatToPixelFormat(VideoFrame::Format video_format) { |
return PIX_FMT_NONE; |
} |
-base::TimeDelta GetFrameDuration(const VideoDecoderConfig& config) { |
- AVRational time_base = { |
- config.frame_rate_denominator(), |
- config.frame_rate_numerator() |
- }; |
- return ConvertFromTimeBase(time_base, 1); |
-} |
- |
void DestroyAVFormatContext(AVFormatContext* format_context) { |
DCHECK(format_context); |