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

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

Issue 1542013004: Switch to standard integer types in media/, take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more stddef Created 5 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ffmpeg_video_decoder.h" 5 #include "media/filters/ffmpeg_video_decoder.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <string> 11 #include <string>
9 12
10 #include "base/bind.h" 13 #include "base/bind.h"
11 #include "base/callback_helpers.h" 14 #include "base/callback_helpers.h"
12 #include "base/command_line.h" 15 #include "base/command_line.h"
13 #include "base/location.h" 16 #include "base/location.h"
14 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
16 #include "media/base/bind_to_current_loop.h" 19 #include "media/base/bind_to_current_loop.h"
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 if (!codec || avcodec_open2(codec_context_.get(), codec, NULL) < 0) { 372 if (!codec || avcodec_open2(codec_context_.get(), codec, NULL) < 0) {
370 ReleaseFFmpegResources(); 373 ReleaseFFmpegResources();
371 return false; 374 return false;
372 } 375 }
373 376
374 av_frame_.reset(av_frame_alloc()); 377 av_frame_.reset(av_frame_alloc());
375 return true; 378 return true;
376 } 379 }
377 380
378 } // namespace media 381 } // namespace media
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_h265_to_annex_b_bitstream_converter.cc ('k') | media/filters/ffmpeg_video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698