Index: media/filters/ffmpeg_video_decoder.h |
diff --git a/media/filters/ffmpeg_video_decoder.h b/media/filters/ffmpeg_video_decoder.h |
index c8481a24f92229b53459e76e59ede5f6d797699e..ced6ddf2eabc8e23b6b6b5bfea25643202a6e8b8 100644 |
--- a/media/filters/ffmpeg_video_decoder.h |
+++ b/media/filters/ffmpeg_video_decoder.h |
@@ -41,9 +41,11 @@ class MEDIA_EXPORT FFmpegVideoDecoder : public VideoDecoder { |
virtual void Stop() OVERRIDE; |
// Callback called from within FFmpeg to allocate a buffer based on |
- // the dimensions of |codec_context|. See AVCodecContext.get_buffer |
+ // the dimensions of |codec_context|. See AVCodecContext.get_buffer2 |
// documentation inside FFmpeg. |
- int GetVideoBuffer(AVCodecContext *codec_context, AVFrame* frame); |
+ int GetVideoBuffer(struct AVCodecContext* codec_context, |
+ AVFrame* frame, |
+ int flags); |
private: |
enum DecoderState { |