diff --git a/src/driver/genpsi.cpp b/src/driver/genpsi.cpp index 3c7fb6719..856bfa4cf 100644 --- a/src/driver/genpsi.cpp +++ b/src/driver/genpsi.cpp @@ -164,13 +164,13 @@ void CGenPsi::addPid(uint16_t pid, uint16_t pidtype, short isAC3, const char *da pcrpid=vpid=pid; vtype = ES_TYPE_MPEG12; break; + case EN_TYPE_AVC: + pcrpid=vpid=pid; + vtype = ES_TYPE_AVC; + break; case EN_TYPE_PCR: pcrpid=pid; break; - case EN_TYPE_AVC: - vpid=pid; - vtype = ES_TYPE_AVC; - break; case EN_TYPE_AUDIO: apid[nba]=pid; atypes[nba]=isAC3;