mirror of https://github.com/FFmpeg/FFmpeg.git
If avio_read() returns a value of bytes read that's lower than the
expected, return an error instead. And when there are zero bytes in
the prefetch buffer, return 0 in order for the frame merge bsf to
drain all potentially buffered packets.
Missed by mistake when amending and committing 9a7bdb6d71
.
Signed-off-by: James Almer <jamrial@gmail.com>
pull/346/head
parent
3105e97050
commit
a762fd2c1b
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue