]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avcodec.h
Merge remote branch 'qatar/master'
[ffmpeg] / libavcodec / avcodec.h
index 11af5eaea4d722cfafb26b56c425709831e7ca8b..acdb183f90ce321697ec6f91ec94d9cba248dee3 100644 (file)
@@ -1018,6 +1018,22 @@ typedef struct AVPanScan{
      * - decoding: Read by user.\
      */\
     AVRational sample_aspect_ratio;\
+\
+    /**\
+     * width and height of the video frame\
+     * - encoding: unused\
+     * - decoding: Read by user.\
+     */\
+    int width, height;\
+\
+    /**\
+     * format of the frame, -1 if unknown or unset\
+     * It should be cast to the corresponding enum (enum PixelFormat\
+     * for video, enum AVSampleFormat for audio)\
+     * - encoding: unused\
+     * - decoding: Read by user.\
+     */\
+    int format;\
 
 
 #define FF_QSCALE_TYPE_MPEG1 0