aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-11-06 02:16:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-06 02:40:31 +0100
commit41ab24bad8684f93c25cf5ac547fbbd713a2a491 (patch)
tree81c44bf487fa1cfb0d8c6e7a304950c2961b101a
parentd8cab5c26b0987f139830937e1f30b2a10822680 (diff)
downloadffmpeg-41ab24bad8684f93c25cf5ac547fbbd713a2a491.tar.gz
lavf: remove commented check in compute_pkt_fields2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index f38e084442..f52c93d8bf 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3183,9 +3183,6 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt){
av_dlog(s, "compute_pkt_fields2: pts:%"PRId64" dts:%"PRId64" cur_dts:%"PRId64" b:%d size:%d st:%d\n",
pkt->pts, pkt->dts, st->cur_dts, delay, pkt->size, pkt->stream_index);
-/* if(pkt->pts == AV_NOPTS_VALUE && pkt->dts == AV_NOPTS_VALUE)
- return AVERROR(EINVAL);*/
-
/* duration field */
if (pkt->duration == 0) {
compute_frame_duration(&num, &den, st, NULL, pkt);