[FFmpeg-devel,v6,01/22] cbs: Mention all codecs in unit type comment

Message ID 20200727163237.23371-2-sw@jkqxz.net
State Accepted
Headers
Series CBS unit type tables and assorted related stuff |

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Mark Thompson July 27, 2020, 4:32 p.m. UTC
---
 libavcodec/cbs.h | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Andreas Rheinhardt Aug. 11, 2020, 3:53 p.m. UTC | #1
Mark Thompson:
> ---
>  libavcodec/cbs.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h
> index e897e348a2..07faf18c5b 100644
> --- a/libavcodec/cbs.h
> +++ b/libavcodec/cbs.h
> @@ -45,8 +45,10 @@ struct CodedBitstreamType;
>  /**
>   * The codec-specific type of a bitstream unit.
>   *
> + * AV1: obu_type
>   * H.264 / AVC: nal_unit_type
>   * H.265 / HEVC: nal_unit_type
> + * JPEG: marker value (without 0xff prefix)
>   * MPEG-2: start code value (without prefix)
>   * VP9: unused, set to zero (every unit is a frame)
>   */
> 
LGTM.

- Andreas
  

Patch

diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h
index e897e348a2..07faf18c5b 100644
--- a/libavcodec/cbs.h
+++ b/libavcodec/cbs.h
@@ -45,8 +45,10 @@  struct CodedBitstreamType;
 /**
  * The codec-specific type of a bitstream unit.
  *
+ * AV1: obu_type
  * H.264 / AVC: nal_unit_type
  * H.265 / HEVC: nal_unit_type
+ * JPEG: marker value (without 0xff prefix)
  * MPEG-2: start code value (without prefix)
  * VP9: unused, set to zero (every unit is a frame)
  */