# HG changeset patch # User reimar # Date 1384544187 0 # Node ID ac8cef6c0dc3c3d77630f0b6a8746c3bfc38d789 # Parent 291485d8cfa813c53fd2b22f25eef52ab89b0e20 Use DEMUXER_TYPE_UNKNOWN define. diff -r 291485d8cfa8 -r ac8cef6c0dc3 libmpdemux/demux_mpg.c --- a/libmpdemux/demux_mpg.c Fri Nov 15 11:28:15 2013 +0000 +++ b/libmpdemux/demux_mpg.c Fri Nov 15 19:36:27 2013 +0000 @@ -1072,7 +1072,7 @@ static int demux_mpg_pes_probe(demuxer_t *demuxer) { demuxer->synced = 3; - return (demux_mpg_probe(demuxer) == DEMUXER_TYPE_MPEG_PS) ? DEMUXER_TYPE_MPEG_PES : 0; + return (demux_mpg_probe(demuxer) == DEMUXER_TYPE_MPEG_PS) ? DEMUXER_TYPE_MPEG_PES : DEMUXER_TYPE_UNKNOWN; }