summaryrefslogtreecommitdiff
path: root/libavcodec/h264_direct.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-27 22:02:45 +0100
committerDiego Biurrun <diego@biurrun.de>2012-03-01 23:11:11 +0100
commit47c0ac96aa3530aad9fbc5250a531589f251d4d7 (patch)
treeff9e3ae46b9d2eaffdc686c47438d489679b0002 /libavcodec/h264_direct.c
parent562b6c744abdde4e673038fcb0c126a4aadfa6c7 (diff)
downloadffmpeg-47c0ac96aa3530aad9fbc5250a531589f251d4d7.tar.gz
Replace AVFrame pointer casts by proper struct member accesses.
Diffstat (limited to 'libavcodec/h264_direct.c')
-rw-r--r--libavcodec/h264_direct.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c
index a953728a12..d72c67b586 100644
--- a/libavcodec/h264_direct.c
+++ b/libavcodec/h264_direct.c
@@ -153,7 +153,9 @@ static void await_reference_mb_row(H264Context * const h, Picture *ref, int mb_y
//FIXME it can be safe to access mb stuff
//even if pixels aren't deblocked yet
- ff_thread_await_progress((AVFrame*)ref, FFMIN(16*mb_y >> ref_field_picture, ref_height-1),
+ ff_thread_await_progress(&ref->f,
+ FFMIN(16 * mb_y >> ref_field_picture,
+ ref_height - 1),
ref_field_picture && ref_field);
}