diff mbox

[FFmpeg-devel] avcodec/golomb: Correct the doxy about get_ue_golomb() and errors

Message ID 20190630155520.30839-1-michael@niedermayer.cc
State Accepted
Commit 1bb3b3f11c6960e90bcfe685c0ad1e355a3e787e
Headers show

Commit Message

Michael Niedermayer June 30, 2019, 3:55 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/golomb.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Michael Niedermayer July 8, 2019, 7:56 a.m. UTC | #1
On Sun, Jun 30, 2019 at 05:55:20PM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/golomb.h | 2 ++
>  1 file changed, 2 insertions(+)

will apply

[...]
diff mbox

Patch

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)
 {