[Mvpmc-cvs] mvpmc/src video.c,1.72,1.73
Status: Alpha
Brought to you by:
gettler
From: Jon G. <ge...@us...> - 2005-12-18 05:11:30
|
Update of /cvsroot/mvpmc/mvpmc/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22434/src Modified Files: video.c Log Message: Fix a bug in the transport stream detection code, where it would throw away the first bit of the stream if the detection failed. Index: video.c =================================================================== RCS file: /cvsroot/mvpmc/mvpmc/src/video.c,v retrieving revision 1.72 retrieving revision 1.73 diff -C2 -d -r1.72 -r1.73 *** video.c 18 Dec 2005 04:53:02 -0000 1.72 --- video.c 18 Dec 2005 05:11:22 -0000 1.73 *************** *** 1306,1310 **** tsmode = ts_demux_is_ts(tshandle, tsbuf, tslen); printf("auto detection transport stream returned %d\n", tsmode); ! } } else if (tsmode == TS_MODE_NO) { len = tslen; --- 1306,1312 ---- tsmode = ts_demux_is_ts(tshandle, tsbuf, tslen); printf("auto detection transport stream returned %d\n", tsmode); ! if (tsmode == TS_MODE_NO) ! len = tslen; ! } } else if (tsmode == TS_MODE_NO) { len = tslen; |