OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # Functions from avformat used in chromium code. | 5 # Functions from avformat used in chromium code. |
6 | 6 |
7 void av_close_input_file(AVFormatContext *s); | 7 void avformat_close_input(AVFormatContext **s); |
8 int av_find_stream_info(AVFormatContext *ic); | 8 int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options); |
9 int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp, int flags)
; | 9 int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp, int flags)
; |
10 int av_open_input_file(AVFormatContext **ic_ptr, const char *filename, AVInputFo
rmat *fmt, int buf_size, AVFormatParameters *ap); | 10 int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma
t *fmt, AVDictionary **options); |
11 int av_read_frame(AVFormatContext *s, AVPacket *pkt); | 11 int av_read_frame(AVFormatContext *s, AVPacket *pkt); |
12 void av_register_all(void); | 12 void av_register_all(void); |
13 int av_register_protocol2(URLProtocol *protocol, int size); | 13 int ffurl_register_protocol(URLProtocol *protocol, int size); |
14 int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int f
lags); | 14 int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int f
lags); |
OLD | NEW |