summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-30 23:51:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-01 00:06:26 +0200
commitfbaf75b166cd067cf383a75ffcccb1e2b370bf6d (patch)
tree1a7c61ea24dc0d7d61abb087947a5f9b789840be /libavcodec/mpegvideo.h
parent5299ee54a73ff1c4d4a4a3ee7b84dae2ffb2fb5f (diff)
h264: Use the correct croping values.
This fixes returning pictures with corrupted data pointers. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 30255f5a5d..4fd01ae75e 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -177,6 +177,10 @@ typedef struct Picture{
int reference;
int shared;
+
+ int crop;
+ int crop_left;
+ int crop_top;
} Picture;
/**