diff options
author | Ronald Bultje <rsbultje@gmail.com> | 2011-06-20 15:07:55 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-06-20 22:18:23 +0200 |
commit | d42aaa802e2b74dcb83d426001557f8229b1b484 (patch) | |
tree | c6aa193fe73b63bdfe6167f4131fd1b32811cb23 /libavcodec/error_resilience.c | |
parent | 3a07f5a47a16bef86faab99bc02d2fd0f396afe8 (diff) | |
download | ffmpeg-d42aaa802e2b74dcb83d426001557f8229b1b484.tar.gz |
error_resilience: actually add counter when adding a MV predictor.
Without, the predictor isn't actually used.
Diffstat (limited to 'libavcodec/error_resilience.c')
-rw-r--r-- | libavcodec/error_resilience.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index aea0e15b34..ad7a7c6ac6 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -547,6 +547,7 @@ skip_mean_and_median: mv_predictor[pred_count][0]= prev_x; mv_predictor[pred_count][1]= prev_y; ref [pred_count] = prev_ref; + pred_count++; s->mv_dir = MV_DIR_FORWARD; s->mb_intra=0; |