avformat/smacker: Don't read only one byte at a time
Instead use ffio_read_size to read data into a buffer. Also check that
the desired size was actually successfully read and combine the check
with the check for reading the extradata.
Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Showing
想要评论请 注册 或 登录