avutil/frame: Add a flag to discard frame after decode.

Signed-off-by: Sasi Inguva <isasi@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Sasi Inguva
2016-09-15 13:36:14 -07:00
committed by Michael Niedermayer
parent 590f025b3d
commit 3cb400c11a
3 changed files with 6 additions and 1 deletions
+4
View File
@@ -395,6 +395,10 @@ typedef struct AVFrame {
* The frame data may be corrupted, e.g. due to decoding errors.
*/
#define AV_FRAME_FLAG_CORRUPT (1 << 0)
/**
* A flag to mark the frames which need to be decoded, but shouldn't be output.
*/
#define AV_FRAME_FLAG_DISCARD (1 << 2)
/**
* @}
*/