Browse Source

fix dead code

(spotted by Coverity: CID 1109725)
master
Christophe Massiot 11 years ago
parent
commit
9c2b677cc6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mpeg/psi/pmt.h

+ 1
- 1
mpeg/psi/pmt.h View File

@ -129,7 +129,7 @@ static inline uint8_t pmtn_get_streamtype(const uint8_t *p_pmt_n)
static inline const char *pmt_get_streamtype_txt(uint8_t i_stream_type) {
/* ISO/IEC 13818-1 | Table 2-36 - Stream type assignments */
if (i_stream_type == 0 || (i_stream_type > 0x1c && i_stream_type < 0x7e))
if (i_stream_type == 0)
return "Reserved";
switch (i_stream_type) {
case 0x01: return "11172-2 video (MPEG-1)";

Loading…
Cancel
Save