Commit 7f23b2a9 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c5fcdb44'

* commit 'c5fcdb44':
  error_resilience: remove a useless if() and FIXME
  h264: remove silly macros
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d5518545 c5fcdb44
...@@ -1186,11 +1186,7 @@ void ff_er_frame_end(MpegEncContext *s) ...@@ -1186,11 +1186,7 @@ void ff_er_frame_end(MpegEncContext *s)
int time_pp = s->pp_time; int time_pp = s->pp_time;
int time_pb = s->pb_time; int time_pb = s->pb_time;
if (s->avctx->codec_id == AV_CODEC_ID_H264) { ff_thread_await_progress(&s->next_picture_ptr->f, mb_y, 0);
// FIXME
} else {
ff_thread_await_progress(&s->next_picture_ptr->f, mb_y, 0);
}
s->mv[0][0][0] = s->next_picture.f.motion_val[0][xy][0] * time_pb / time_pp; s->mv[0][0][0] = s->next_picture.f.motion_val[0][xy][0] * time_pb / time_pp;
s->mv[0][0][1] = s->next_picture.f.motion_val[0][xy][1] * time_pb / time_pp; s->mv[0][0][1] = s->next_picture.f.motion_val[0][xy][1] * time_pb / time_pp;
s->mv[1][0][0] = s->next_picture.f.motion_val[0][xy][0] * (time_pb - time_pp) / time_pp; s->mv[1][0][0] = s->next_picture.f.motion_val[0][xy][0] * (time_pb - time_pp) / time_pp;
......
...@@ -37,9 +37,6 @@ ...@@ -37,9 +37,6 @@
#include "h264qpel.h" #include "h264qpel.h"
#include "rectangle.h" #include "rectangle.h"
#define interlaced_dct interlaced_dct_is_a_bad_name
#define mb_intra mb_intra_is_not_initialized_see_mb_type
#define MAX_SPS_COUNT 32 #define MAX_SPS_COUNT 32
#define MAX_PPS_COUNT 256 #define MAX_PPS_COUNT 256
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment