You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/error_resilience: remove unneeded and disabled code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -582,24 +582,9 @@ skip_mean_and_median:
|
|||||||
/* zero MV */
|
/* zero MV */
|
||||||
pred_count++;
|
pred_count++;
|
||||||
|
|
||||||
if (!fixed[mb_xy] && 0) {
|
prev_x = s->cur_pic.motion_val[0][mot_index][0];
|
||||||
if (s->avctx->codec_id == AV_CODEC_ID_H264) {
|
prev_y = s->cur_pic.motion_val[0][mot_index][1];
|
||||||
// FIXME
|
prev_ref = s->cur_pic.ref_index[0][4 * mb_xy];
|
||||||
} else {
|
|
||||||
ff_thread_await_progress(s->last_pic.tf,
|
|
||||||
mb_y, 0);
|
|
||||||
}
|
|
||||||
if (!s->last_pic.motion_val[0] ||
|
|
||||||
!s->last_pic.ref_index[0])
|
|
||||||
goto skip_last_mv;
|
|
||||||
prev_x = s->last_pic.motion_val[0][mot_index][0];
|
|
||||||
prev_y = s->last_pic.motion_val[0][mot_index][1];
|
|
||||||
prev_ref = s->last_pic.ref_index[0][4 * mb_xy];
|
|
||||||
} else {
|
|
||||||
prev_x = s->cur_pic.motion_val[0][mot_index][0];
|
|
||||||
prev_y = s->cur_pic.motion_val[0][mot_index][1];
|
|
||||||
prev_ref = s->cur_pic.ref_index[0][4 * mb_xy];
|
|
||||||
}
|
|
||||||
|
|
||||||
/* last MV */
|
/* last MV */
|
||||||
mv_predictor[pred_count][0] = prev_x;
|
mv_predictor[pred_count][0] = prev_x;
|
||||||
|
Reference in New Issue
Block a user