From c579345b78b87bfbe9b1ce4cbe1be50c0d9dd11a Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Wed, 17 Mar 2010 11:59:36 +0100 Subject: Hopefully fixed frame counter error --- decoder.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'decoder.cpp') diff --git a/decoder.cpp b/decoder.cpp index 8d98183..d2d8d18 100644 --- a/decoder.cpp +++ b/decoder.cpp @@ -347,10 +347,6 @@ bool cMarkAdDecoder::SetVideoInfos(MarkAdContext *maContext,AVCodecContext *Vide } maContext->Video.Info.Height=Video_Context->height; maContext->Video.Info.Width=Video_Context->width; - if (Video_Context->codec_id!=CODEC_ID_H264) - { - maContext->Video.Info.Pict_Type=Video_Context->coded_frame->pict_type; - } AVRational dar; PAR2DAR(Video_Context->sample_aspect_ratio,&dar); -- cgit v1.2.3