diff options
author | phintuka <phintuka> | 2012-01-19 10:11:21 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2012-01-19 10:11:21 +0000 |
commit | 26a37a70644510644e0f813092f0fe66a552acda (patch) | |
tree | 3e689d4498fbb0548c8378c5d07026b267f1422b | |
parent | b1a98f260bd5f918c16f547e229aabb96a754464 (diff) | |
download | xineliboutput-26a37a70644510644e0f813092f0fe66a552acda.tar.gz xineliboutput-26a37a70644510644e0f813092f0fe66a552acda.tar.bz2 |
Fixed PES video type detection
-rw-r--r-- | xine/demux_xvdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c index 8541bc79..c2dbdc79 100644 --- a/xine/demux_xvdr.c +++ b/xine/demux_xvdr.c @@ -993,7 +993,7 @@ static int32_t parse_video_stream(demux_xvdr_t *this, uint8_t *p, buf_element_t p += result; - if (this->video_type == 0 && buf->size >= 4) { + if (this->video_type == 0 && buf->size >= result + 4) { this->video_type = detect_h264(p); } |