lavf: remove commented check in compute_pkt_fields2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Stefano Sabatini 2011-11-06 02:16:41 +01:00 committed by Michael Niedermayer
parent d8cab5c26b
commit 41ab24bad8
1 changed files with 0 additions and 3 deletions

View File

@ -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", 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); 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 */ /* duration field */
if (pkt->duration == 0) { if (pkt->duration == 0) {
compute_frame_duration(&num, &den, st, NULL, pkt); compute_frame_duration(&num, &den, st, NULL, pkt);