]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove unused and invalid code from ffmpeg.c.
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 5 Oct 2008 17:26:09 +0000 (17:26 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sun, 5 Oct 2008 17:26:09 +0000 (17:26 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15567 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffmpeg.c

index c64100c7af81abf0084c775a24dd0a2518b304f5..6085d6a838dc5874e3e09c37d64e5accce79e277 100644 (file)
--- 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)