aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-05 17:26:09 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-05 17:26:09 +0000
commit0093396cff8ffa2d7e20621abf7b62f8018dd1f1 (patch)
treecd4fabf638d6ad36268ab9e486317935497132ae
parent02a6a6eea4357a23453eee2a2f609d4a5fee1b63 (diff)
downloadffmpeg-0093396cff8ffa2d7e20621abf7b62f8018dd1f1.tar.gz
Remove unused and invalid code from ffmpeg.c.
Originally committed as revision 15567 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c64100c7af..6085d6a838 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1310,19 +1310,6 @@ static int output_packet(AVInputStream *ist, int ist_index,
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)