Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parser latm: remove dead code (coverity)
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 7068a60 commit e6bfe87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/parsers/parser_latm.c
Expand Up @@ -123,7 +123,7 @@ read_stream_mux_config(elementary_stream_t *st, latm_private_t *latm, bitstream_
read_audio_specific_config(st, latm, bs);
else {
return;
#if 0
#if 0 // see bellow (look for dead code)
uint32_t ascLen = latm_get_value(bs);
abort(); // ascLen -= read_audio_specific_config(filter, gb);
skip_bits(bs, ascLen);
Expand Down Expand Up @@ -151,9 +151,12 @@ read_stream_mux_config(elementary_stream_t *st, latm_private_t *latm, bitstream_
}

if(read_bits(bs, 1)) { // other data?
#if 0 // coverity - dead code - see above
if(audio_mux_version)
latm_get_value(bs); // other_data_bits
else {
else
#endif
{
int esc;
do {
esc = read_bits(bs, 1);
Expand Down

0 comments on commit e6bfe87

Please sign in to comment.