Skip to content
Snippets Groups Projects
Commit 89f119a6 authored by Kazuki Yamaguchi's avatar Kazuki Yamaguchi Committed by Yuudai Yamashigi
Browse files

aribcam: don't discard remaining data.


Signed-off-by: default avatarYuudai Yamashigi <yyamashigi@videolan.org>
parent f01b4278
No related branches found
No related tags found
No related merge requests found
......@@ -175,8 +175,9 @@ static int DecoderRead( stream_t *p_stream, uint8_t *p_dst, int i_toread )
/* Use data from previous reads */
size_t i_fromremain = RemainRead( p_stream, p_dst, i_toread );
i_toread -= i_fromremain;
i_total_read += i_fromremain;
p_dst += i_fromremain;
i_toread -= i_fromremain;
while( i_toread )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment