lavf/utils: fix error like "offset 0x1f85: partial file"
authortomajsjiang <tomajsjiang@tencent.com>
Wed, 7 Aug 2019 14:48:28 +0000 (22:48 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Thu, 15 Aug 2019 01:27:18 +0000 (09:27 +0800)
commit9c3adb7ce23522dcceb264bc0bffd3592dd3e1a5
tree74c275d1491a54ae2abbcb1b5d986477c8831b3a
parent3d1506c630eb59b428eb3585ccaa446fec7f3b0a
lavf/utils: fix error like "offset 0x1f85: partial file"

fix error like "offset 0x1f85: partial file", the root cause is when
read the mp4 file from http, and the moov in the end of the mp4 file,
reconfig the buffer will drop some data.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Signed-off-by: Zhongxing Jiang <tomajsjiang@tencent.com>
libavformat/utils.c