aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-30 11:35:50 +0100
committerAnton Khirnov <anton@khirnov.net>2013-12-05 13:25:15 +0100
commitd0d111d0592bfd6b2b8bcd2321986c0fc493455d (patch)
treeef1b65f47e7d841701f571428fed0247cfaef6b9 /libavcodec
parent381a722562bcc0b623acf6a00a583fe989bcb72a (diff)
downloadffmpeg-d0d111d0592bfd6b2b8bcd2321986c0fc493455d.tar.gz
mpegvideo: remove commented out cruft from ff_MPV_frame_end()
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 6301090c31..93d9bf9444 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1694,24 +1694,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
emms_c();
-#if 0
- /* copy back current_picture variables */
- for (i = 0; i < MAX_PICTURE_COUNT; i++) {
- if (s->picture[i].f.data[0] == s->current_picture.f.data[0]) {
- s->picture[i] = s->current_picture;
- break;
- }
- }
- assert(i < MAX_PICTURE_COUNT);
-#endif
-
- // clear copies, to avoid confusion
-#if 0
- memset(&s->last_picture, 0, sizeof(Picture));
- memset(&s->next_picture, 0, sizeof(Picture));
- memset(&s->current_picture, 0, sizeof(Picture));
-#endif
-
if (s->current_picture.reference)
ff_thread_report_progress(&s->current_picture_ptr->tf, INT_MAX, 0);
}