| Index: media/filters/ffmpeg_demuxer.h
|
| diff --git a/media/filters/ffmpeg_demuxer.h b/media/filters/ffmpeg_demuxer.h
|
| index 5db09b33e108797153e6eb725971476aa396dc25..89afe01ab0f5e2dac7ddb188728c27c1c51f24b0 100644
|
| --- a/media/filters/ffmpeg_demuxer.h
|
| +++ b/media/filters/ffmpeg_demuxer.h
|
| @@ -40,6 +40,7 @@ struct AVFormatContext;
|
| struct AVPacket;
|
| struct AVRational;
|
| struct AVStream;
|
| +class ScopedPtrAVFreePacket;
|
|
|
| namespace media {
|
|
|
| @@ -57,8 +58,8 @@ class FFmpegDemuxerStream : public DemuxerStream {
|
| // Safe to call on any thread.
|
| bool HasPendingReads();
|
|
|
| - // Enqueues and takes ownership over the given AVPacket.
|
| - void EnqueuePacket(AVPacket* packet);
|
| + // Enqueues the given AVPacket.
|
| + void EnqueuePacket(scoped_ptr_malloc<AVPacket, ScopedPtrAVFreePacket> packet);
|
|
|
| // Signals to empty the buffer queue and mark next packet as discontinuous.
|
| void FlushBuffers();
|
|
|