diff options
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0204af7df0..4f24f729ac 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1272,6 +1272,15 @@ typedef struct AVFrame { * - decoding: Read by user. */ int width, height; + + /** + * format of the frame, -1 if unknown or unset + * Values correspond to enum PixelFormat for video frames, + * enum AVSampleFormat for audio) + * - encoding: unused + * - decoding: Read by user. + */ + int format; } AVFrame; struct AVCodecInternal; |