avformat/utils: av_probe_input_buffer2 decrease difference to libav
This removes the initialization of 2 unused fields The change was part ofc1868e7ee7
but wasnt merged as the fields could still be used Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit05c78f345b
) Conflicts: libavformat/utils.c
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user