summaryrefslogtreecommitdiff
path: root/libavcodec/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/decode.h')
-rw-r--r--libavcodec/decode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/decode.h b/libavcodec/decode.h
index b82d953516..d40327d5ab 100644
--- a/libavcodec/decode.h
+++ b/libavcodec/decode.h
@@ -100,6 +100,12 @@ int ff_copy_palette(void *dst, const AVPacket *src, void *logctx);
int ff_decode_preinit(AVCodecContext *avctx);
/**
+ * Check that the provided frame dimensions are valid and set them on the codec
+ * context.
+ */
+int ff_set_dimensions(AVCodecContext *s, int width, int height);
+
+/**
* Check that the provided sample aspect ratio is valid and set it on the codec
* context.
*/