diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-02-06 14:53:40 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-10 21:45:04 +0100 |
commit | 9deaec782810d098bca11c9332fab2d2f4c5fb78 (patch) | |
tree | 09de732f0e2550abd520cb94d80e3882546548f2 /libavformat/options.c | |
parent | 1509c018bd5b054a2354e20021ccbac9c934d213 (diff) | |
download | ffmpeg-9deaec782810d098bca11c9332fab2d2f4c5fb78.tar.gz |
lavf: move internal fields from public to internal context
This is not an API change; the fields were explicitly declared private
before.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index ad47004651..227c36f95f 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -101,13 +101,13 @@ AVFormatContext *avformat_alloc_context(void) ic = av_malloc(sizeof(AVFormatContext)); if (!ic) return ic; avformat_get_context_defaults(ic); - ic->offset = AV_NOPTS_VALUE; ic->internal = av_mallocz(sizeof(*ic->internal)); if (!ic->internal) { avformat_free_context(ic); return NULL; } + ic->internal->offset = AV_NOPTS_VALUE; return ic; } |