Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
muxer: fix NULL pointer dereference (m_add_marker), fixes #4007
  • Loading branch information
perexg committed Oct 3, 2016
1 parent 2914ed3 commit c401705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/muxer.h
Expand Up @@ -122,7 +122,7 @@ static inline int muxer_reconfigure (muxer_t *m, const struct streaming_start *s
{ if(m && ss) return m->m_reconfigure(m, ss); return -1; }

static inline int muxer_add_marker (muxer_t *m)
{ if (m) return m->m_add_marker(m); return -1; }
{ if (m && m->m_add_marker) return m->m_add_marker(m); return -1; }

static inline int muxer_close (muxer_t *m)
{ if (m) return m->m_close(m); return -1; }
Expand Down

0 comments on commit c401705

Please sign in to comment.