OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
avformat/utils/av_probe_input_buffer2: fix buffer passed to ffio_rewind_with_probe_data()
[android-x86/external-ffmpeg.git]
/
libavformat
/
utils.c
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
ef688a5
..
fd5c0dd
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-408,7
+408,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;
}