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

Side by Side Diff: source/patched-ffmpeg-mt/libavformat/options.c

Issue 4533003: patched ffmpeg nov 2 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard 2 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
3 * 3 *
4 * This file is part of FFmpeg. 4 * This file is part of FFmpeg.
5 * 5 *
6 * FFmpeg is free software; you can redistribute it and/or 6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public 7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version. 9 * version 2.1 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 AVFormatContext *avformat_alloc_context(void) 82 AVFormatContext *avformat_alloc_context(void)
83 { 83 {
84 AVFormatContext *ic; 84 AVFormatContext *ic;
85 ic = av_malloc(sizeof(AVFormatContext)); 85 ic = av_malloc(sizeof(AVFormatContext));
86 if (!ic) return ic; 86 if (!ic) return ic;
87 avformat_get_context_defaults(ic); 87 avformat_get_context_defaults(ic);
88 ic->av_class = &av_format_context_class; 88 ic->av_class = &av_format_context_class;
89 return ic; 89 return ic;
90 } 90 }
91 91
92 #if LIBAVFORMAT_VERSION_MAJOR < 53 92 #if FF_API_ALLOC_FORMAT_CONTEXT
93 AVFormatContext *av_alloc_format_context(void) 93 AVFormatContext *av_alloc_format_context(void)
94 { 94 {
95 return avformat_alloc_context(); 95 return avformat_alloc_context();
96 } 96 }
97 #endif 97 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698