1. 注册所有容器格式和CODEC:av_register_all()2. 打开文件:av_open_input_file()3. 从文件中提取流信息:av_find_stream_info()4. 穷举所有的流,查找其中种类为CODEC_TYPE_VIDEO5. 查找对应的解码器:avcodec_...
分类:
其他好文 时间:
2015-12-18 16:32:08
阅读次数:
136
题目链接:majority-element/** * Given an array of size n, find the majority element. The majority element is the element that appears more than ? n/2 ?...
分类:
编程语言 时间:
2015-12-18 16:09:27
阅读次数:
181
FFMPEG解码流程:1. 注册所有容器格式和CODEC: av_register_all()2. 打开文件: av_open_input_file()3. 从文件中提取流信息: av_find_stream_info()4. 穷举所有的流,...
分类:
其他好文 时间:
2015-12-18 16:08:14
阅读次数:
200
解决Xcode在ipad/iphone 9.2 系统真机测试时出现could not find developer disk image问题方法1:拷贝这个文件(http://download.csdn.net/detail/cvbtvbwu/9340467)到/Applications/Xcode...
分类:
其他好文 时间:
2015-12-18 14:46:40
阅读次数:
147
Maximum Subarray DifferenceGiven an array with integers.Find two non-overlapping subarrays A and B, which |SUM(A) - SUM(B)| is the largest.Return the ...
分类:
其他好文 时间:
2015-12-18 08:02:30
阅读次数:
231
Given a 2D board and a list of words from the dictionary, find all words in the board.Each word must be constructed from letters of sequentially adjac...
分类:
其他好文 时间:
2015-12-18 06:56:28
阅读次数:
239
Maximum Subarray IIGiven an array of integers, find two non-overlapping subarrays which have the largest sum. The number in each subarray should be co...
分类:
其他好文 时间:
2015-12-18 06:53:38
阅读次数:
188
Lowest Common Ancestor of a Binary Search TreeTotal Accepted:42225Total Submissions:111243Difficulty:EasyGiven a binary search tree (BST), find the lo...
分类:
其他好文 时间:
2015-12-17 15:43:53
阅读次数:
120
find查找文件find / XX.py 超找根目录下的xx.py文件----------------------------------------nautilus 从终端打开文件浏览器nautilus默认打开家目录,想打开当前工作(pwd)的目录后面可以:nautilus ./ 或 nautil...
分类:
其他好文 时间:
2015-12-17 12:24:53
阅读次数:
120
Minimum Depth of Binary TreeTotal Accepted:84038Total Submissions:283068Difficulty:EasyGiven a binary tree, find its minimum depth.The minimum depth i...
分类:
其他好文 时间:
2015-12-17 10:46:14
阅读次数:
165