[FFmpeg-devel] [PATCH] lavf/hevc: replace the unicode signal quotation with normal

Jun Zhao mypopydev at gmail.com
Thu Aug 4 14:13:39 EEST 2022


replace the unicode left/right signal quotation mark with normal
signal quotation.

Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
---
 libavformat/hevc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavformat/hevc.c b/libavformat/hevc.c
index df141aec26..37d97941d5 100644
--- a/libavformat/hevc.c
+++ b/libavformat/hevc.c
@@ -924,31 +924,31 @@ static int hvcc_write(AVIOContext *pb, HEVCDecoderConfigurationRecord *hvcc)
     avio_w8(pb, hvcc->general_level_idc);
 
     /*
-     * bit(4) reserved = ‘1111’b;
+     * bit(4) reserved = '1111'b;
      * unsigned int(12) min_spatial_segmentation_idc;
      */
     avio_wb16(pb, hvcc->min_spatial_segmentation_idc | 0xf000);
 
     /*
-     * bit(6) reserved = ‘111111’b;
+     * bit(6) reserved = '111111'b;
      * unsigned int(2) parallelismType;
      */
     avio_w8(pb, hvcc->parallelismType | 0xfc);
 
     /*
-     * bit(6) reserved = ‘111111’b;
+     * bit(6) reserved = '111111'b;
      * unsigned int(2) chromaFormat;
      */
     avio_w8(pb, hvcc->chromaFormat | 0xfc);
 
     /*
-     * bit(5) reserved = ‘11111’b;
+     * bit(5) reserved = '11111'b;
      * unsigned int(3) bitDepthLumaMinus8;
      */
     avio_w8(pb, hvcc->bitDepthLumaMinus8 | 0xf8);
 
     /*
-     * bit(5) reserved = ‘11111’b;
+     * bit(5) reserved = '11111'b;
      * unsigned int(3) bitDepthChromaMinus8;
      */
     avio_w8(pb, hvcc->bitDepthChromaMinus8 | 0xf8);
-- 
2.25.1



More information about the ffmpeg-devel mailing list