History

avcodec/mpegvideo_dec: Remove commented-out legacy cruft

Added in 80e9e63c946660304fc65fa8141ccfdbe4d196d1 for reasons unknown to me.

Andreas Rheinhardt committed 3 years ago

Commit b6e51361 parent f52b4a61 file · +0 −4Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/mpegvideo_dec.c+0−4
@@ -435,10 +435,6 @@ FF_ENABLE_DEPRECATION_WARNINGS · 434 unmodified lines
435 ff_thread_report_progress(&s->next_picture_ptr->tf, INT_MAX, 1);435 ff_thread_report_progress(&s->next_picture_ptr->tf, INT_MAX, 1);
436 }436 }
437 437
438#if 0 // BUFREF-FIXME
439 memset(s->last_picture.f->data, 0, sizeof(s->last_picture.f->data));
440 memset(s->next_picture.f->data, 0, sizeof(s->next_picture.f->data));
441#endif
442 if (s->last_picture_ptr) {438 if (s->last_picture_ptr) {
443 if (s->last_picture_ptr->f->buf[0] &&439 if (s->last_picture_ptr->f->buf[0] &&
444 (ret = ff_mpeg_ref_picture(s->avctx, &s->last_picture,440 (ret = ff_mpeg_ref_picture(s->avctx, &s->last_picture,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t