summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-12-01 22:30:03 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-12-01 22:30:03 +0000
commit94f28061f572b5946275cd29be0683c22cd58a18 (patch)
tree7688bcac6cba8ff8c3eb716e1f80c7536bf57251 /libavcodec/mpegvideo.h
parente7e578b73c453ad22c553b8be5535aa3b861cd83 (diff)
Store original width/height so that rv20 does not get stuck with some
resolution. A sample file to show a difference is at issue833 (http://airfarce.com/video/000211fh.rm) Originally committed as revision 20691 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 89b983f59d..63d342de62 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -571,6 +571,7 @@ typedef struct MpegEncContext {
/* RV10 specific */
int rv10_version; ///< RV10 version: 0 or 3
int rv10_first_dc_coded[3];
+ int orig_width, orig_height;
/* MJPEG specific */
struct MJpegContext *mjpeg_ctx;