This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
smc: use bytestream2_size()
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.11
Paul B Mahol
Michael Niedermayer
14 years ago
parent
0ee5be4ee4
commit
8a90148dfe
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/smc.c
+ 1
- 1
libavcodec/smc.c
View File
@@ -83,7 +83,7 @@ static void smc_decode_stream(SmcContext *s)
int stride = s->frame.linesize[0];
int i;
int chunk_size;
int buf_size =
(int) (s->gb.buffer_end - s->gb.buffer_start
);
int buf_size =
bytestream2_size(&s->gb
);
unsigned char opcode;
int n_blocks;
unsigned int color_flags;
Write
Preview
Loading…
Cancel
Save