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

Side by Side Diff: media/filters/bitstream_converter.cc

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/filters/bitstream_converter.h ('k') | media/filters/ffmpeg_video_allocator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/filters/bitstream_converter.h" 5 #include "media/filters/bitstream_converter.h"
6 6
7 #include "base/logging.h"
7 #include "media/ffmpeg/ffmpeg_common.h" 8 #include "media/ffmpeg/ffmpeg_common.h"
8 9
9 namespace media { 10 namespace media {
10 11
11 FFmpegBitstreamConverter::FFmpegBitstreamConverter( 12 FFmpegBitstreamConverter::FFmpegBitstreamConverter(
12 const std::string& filter_name, 13 const std::string& filter_name,
13 AVCodecContext* stream_context) 14 AVCodecContext* stream_context)
14 : filter_name_(filter_name), 15 : filter_name_(filter_name),
15 stream_filter_(NULL), 16 stream_filter_(NULL),
16 stream_context_(stream_context) { 17 stream_context_(stream_context) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 av_free_packet(packet); 60 av_free_packet(packet);
60 packet->data = converted_data; 61 packet->data = converted_data;
61 packet->size = converted_size; 62 packet->size = converted_size;
62 packet->destruct = av_destruct_packet; 63 packet->destruct = av_destruct_packet;
63 } 64 }
64 65
65 return true; 66 return true;
66 } 67 }
67 68
68 } // namespace media 69 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/bitstream_converter.h ('k') | media/filters/ffmpeg_video_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698