avformat/utils/av_probe_input_buffer2: fix offset check
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 13 Jan 2014 21:17:12 +0000 (22:17 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 13 Jan 2014 21:23:40 +0000 (22:23 +0100)
commit8c3b026a0eeb49464d957b61b0c01cceecc416fd
tree6203558d9d9a708f86b111b6824fb10555765c4f
parent6a2064820b52568c05a9ec8f418f18840e7c43cc
avformat/utils/av_probe_input_buffer2: fix offset check

The check could fail if avio_read() read less than requested

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c