diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-13 22:37:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-04 05:20:43 +0100 |
commit | a5c3f596d1f7e092f928f48e8a21de5096d21e05 (patch) | |
tree | f17f0600d4fa995a8a3a2897b9c6d82da1f8e34a | |
parent | ee3ce73bfb29cfa5a0f0202b0357304af4ba8f9a (diff) | |
download | ffmpeg-a5c3f596d1f7e092f928f48e8a21de5096d21e05.tar.gz |
avformat/utils: av_probe_input_buffer2 decrease difference to libav
This removes the initialization of 2 unused fields
The change was part of c1868e7ee7b07b40a0fe15f50df89fe499a01a50
but wasnt merged as the fields could still be used
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 05c78f345b623a3eed203ab17da6e1419d56abd0)
Conflicts:
libavformat/utils.c
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 8e5ec48154..48882bed95 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -432,7 +432,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt, const char *filename, void *logctx, unsigned int offset, unsigned int max_probe_size) { - AVProbeData pd = { filename ? filename : "", NULL, -offset }; + AVProbeData pd = { filename ? filename : "" }; uint8_t *buf = NULL; uint8_t *mime_type; int ret = 0, probe_size, buf_offset = 0; |