summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index bba158629b..7ce019c12a 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -42,6 +42,10 @@ int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt);
*/
AVHWAccel *ff_find_hwaccel(enum CodecID codec_id, enum PixelFormat pix_fmt);
+/**
+ * Return the index into tab at which {a,b} match elements {[0],[1]} of tab.
+ * If there is no such matching pair then size is returned.
+ */
int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b);
#endif /* AVCODEC_INTERNAL_H */