summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAlexander Strange <astrange@ithinksw.com>2008-05-11 19:16:21 +0000
committerAlexander Strange <astrange@ithinksw.com>2008-05-11 19:16:21 +0000
commit64514ee8def11d74362c03bcafc5927dc5577e8d (patch)
tree50daa2e0a5c5c75dc9f24d0dc2651f24f8c17653 /libavcodec/h264.h
parent1d46ba661c8f067f17109554fbe56e923be6d6eb (diff)
Store mb_xy in H264Context and only calculate it once per MB.
Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 622a555299..6b76420ceb 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -414,6 +414,8 @@ typedef struct H264Context{
int last_slice_type;
/** @} */
+ int mb_xy;
+
}H264Context;
#endif /* FFMPEG_H264_H */