Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-14 01:17:12 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-14 01:24:30 +0400
commit05886c9d4edddb07a4cdc6afee8b30cd9c80b4db (patch)
tree443d47be474377e6c3daad71c7c5ca5a1fecbc38 /libavformat
parent8c3b026a0eeb49464d957b61b0c01cceecc416fd (diff)
avformat/utils/av_probe_input_buffer2: fix buffer passed to ffio_rewind_with_probe_data()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index e880650c41..29ec5b471e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -415,7 +415,7 @@ int av_probe_input_buffer2(AVIOContext *pb, AVInputFormat **fmt,
}
/* rewind. reuse probe buffer to avoid seeking */
- ret = ffio_rewind_with_probe_data(pb, &buf, pd.buf_size);
+ ret = ffio_rewind_with_probe_data(pb, &buf, buf_offset);
return ret < 0 ? ret : score;
}