summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-06-30 17:54:45 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-07-08 09:56:29 +0200
commit1bb3b3f11c6960e90bcfe685c0ad1e355a3e787e (patch)
tree239072607c82cd3f2881c6bf8e25d3add03b615a /libavcodec/golomb.h
parentf57e97dfd9539bc3f4f97a76ebc001f0b055cb88 (diff)
downloadffmpeg-1bb3b3f11c6960e90bcfe685c0ad1e355a3e787e.tar.gz
avcodec/golomb: Correct the doxy about get_ue_golomb() and errors
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index fcc78f44c1..5cdfa0945d 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -49,6 +49,8 @@ extern const uint8_t ff_interleaved_dirac_golomb_vlc_code[256];
/**
* Read an unsigned Exp-Golomb code in the range 0 to 8190.
+ *
+ * @returns the read value or a negative error code.
*/
static inline int get_ue_golomb(GetBitContext *gb)
{