[MPlayer-dev-eng] [PATCH] remove code duplication

Aurelien Jacobs aurel at gnuage.org
Wed Dec 1 15:06:29 CET 2004


Hi,

When diging through the dvd handling code, I've discoverd some
code duplication in demux_open_stream. There were 2 different
case for DEMUXER_TYPE_MPEG_TY and DEMUXER_TYPE_MPEG_PS with
exactly the same code inside.
I guess that this duplication should be removed, so here is
a patch. But as I don't know what DEMUXER_TYPE_MPEG_TY is
exactly and as I don't know if this code was duplicated for
pupose, I will let someone who knows this code apply the
patch or reject it.

Aurel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: demux_mpeg_duplication.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041201/bd677d45/attachment.asc>


More information about the MPlayer-dev-eng mailing list