summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 0a263cbb08..70df542500 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -915,8 +915,8 @@ typedef struct AVCodecContext {
void (*release_buffer)(struct AVCodecContext *c, AVFrame *pic);
/**
- * is 1 if the decoded stream contains b frames, 0 otherwise.
- * - encoding: unused
+ * if 1 the stream has a 1 frame delay during decoding.
+ * - encoding: set by lavc
* - decoding: set by lavc
*/
int has_b_frames;
@@ -1251,6 +1251,7 @@ typedef struct AVCodecContext {
#define FF_CMP_ZERO 7
#define FF_CMP_VSAD 8
#define FF_CMP_VSSE 9
+#define FF_CMP_NSSE 10
#define FF_CMP_CHROMA 256
/**