summaryrefslogtreecommitdiff
path: root/libdvbmpeg/remux.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdvbmpeg/remux.c')
-rw-r--r--libdvbmpeg/remux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdvbmpeg/remux.c b/libdvbmpeg/remux.c
index 6f8a44f..1d65525 100644
--- a/libdvbmpeg/remux.c
+++ b/libdvbmpeg/remux.c
@@ -489,7 +489,7 @@ int get_video_info(Remux *rem)
VideoInfo *vi = &rem->video_info;
while (found < 4 && ring_rest(vid_buffy)){
- uint8_t b[3];
+ uint8_t b[4];
vring_peek( rem, b, 4, 0);
if ( b[0] == 0x00 && b[1] == 0x00 && b[2] == 0x01