| Index: media/filters/ffmpeg_h264_bitstream_converter.cc
|
| diff --git a/media/filters/ffmpeg_h264_bitstream_converter.cc b/media/filters/ffmpeg_h264_bitstream_converter.cc
|
| index 6220daf3ce8e04aeca34accb82f9dcfa0a5e97d0..2995083cb4a35f8a862b87a1a0916eb088983eb0 100644
|
| --- a/media/filters/ffmpeg_h264_bitstream_converter.cc
|
| +++ b/media/filters/ffmpeg_h264_bitstream_converter.cc
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -91,7 +91,7 @@ bool FFmpegH264BitstreamConverter::ConvertPacket(AVPacket* packet) {
|
| }
|
|
|
| // At the end we must destroy the old packet.
|
| - packet->destruct(packet);
|
| + av_free_packet(packet);
|
| *packet = dest_packet; // Finally, replace the values in the input packet.
|
|
|
| return true;
|
|
|