[FFmpeg-cvslog] r15567 - trunk/ffmpeg.c
stefano
subversion
Sun Oct 5 19:26:09 CEST 2008
Author: stefano
Date: Sun Oct 5 19:26:09 2008
New Revision: 15567
Log:
Remove unused and invalid code from ffmpeg.c.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sun Oct 5 19:26:09 2008
@@ -1310,19 +1310,6 @@ static int output_packet(AVInputStream *
ist->frame++;
}
-#if 0
- /* mpeg PTS deordering : if it is a P or I frame, the PTS
- is the one of the next displayed one */
- /* XXX: add mpeg4 too ? */
- if (ist->st->codec->codec_id == CODEC_ID_MPEG1VIDEO) {
- if (ist->st->codec->pict_type != B_TYPE) {
- int64_t tmp;
- tmp = ist->last_ip_pts;
- ist->last_ip_pts = ist->frac_pts.val;
- ist->frac_pts.val = tmp;
- }
- }
-#endif
/* if output time reached then transcode raw format,
encode packets and output them */
if (start_time == 0 || ist->pts >= start_time)
More information about the ffmpeg-cvslog
mailing list