Signed-off-by: hwren <[email protected]>
---
 libavcodec/libdavs2.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c
index cadf995..581d568 100644
--- a/libavcodec/libdavs2.c
+++ b/libavcodec/libdavs2.c
@@ -96,13 +96,6 @@ static int davs2_dump_frames(AVCodecContext *avctx, 
davs2_picture_t *pic,
                    pic->widths[plane] * bytes_per_sample);
     }
 
-    frame->width     = cad->headerset.width;
-    frame->height    = cad->headerset.height;
-    frame->pts       = cad->out_frame.pts;
-    frame->pict_type = pic->type;
-    frame->format    = avctx->pix_fmt;
-
-    cad->decoded_frames++;
     return 1;
 }
 
-- 
2.7.4

_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to