Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
psip: fix wrong shift for the upper msg of the event id
  • Loading branch information
perexg committed Nov 6, 2015
1 parent f0f7081 commit a27b0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/epggrab/module/psip.c
Expand Up @@ -557,7 +557,7 @@ _psip_ett_callback
if (r != 1) return r;

sourceid = (ptr[6] << 8) | ptr[7];
eventid = (ptr[8] << 8) | ((ptr[9] >> 2) & 0x3f);
eventid = (ptr[8] << 6) | ((ptr[9] >> 2) & 0x3f);
isevent = (ptr[9] & 0x2) >> 1;

/* Look up channel based on the source id */
Expand Down

0 comments on commit a27b0af

Please sign in to comment.