diff options
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r-- | libavcodec/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index f57bedc8cf..21331377c3 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -166,4 +166,10 @@ const uint8_t *avpriv_find_start_code(const uint8_t *restrict p, const uint8_t *end, uint32_t *restrict state); +/** + * 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); + #endif /* AVCODEC_INTERNAL_H */ |