[RFC PATCH] allegro: nal_h264_write_start_code_prefix() can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes: eba69588199f ("allegro: add SPS/PPS nal unit writer")
Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
 nal-h264.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/media/platform/allegro-dvt/nal-h264.c b/drivers/media/platform/allegro-dvt/nal-h264.c
index fed1180c..a78c633 100644
--- a/drivers/media/platform/allegro-dvt/nal-h264.c
+++ b/drivers/media/platform/allegro-dvt/nal-h264.c
@@ -430,7 +430,7 @@ static void nal_h264_rbsp_trailing_bits(struct rbsp *rbsp)
 		  &rbsp_alignment_zero_bit);
 }
 
-void nal_h264_write_start_code_prefix(struct rbsp *rbsp)
+static void nal_h264_write_start_code_prefix(struct rbsp *rbsp)
 {
 	u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8);
 	int i = 4;
@@ -448,7 +448,7 @@ void nal_h264_write_start_code_prefix(struct rbsp *rbsp)
 	rbsp->pos += i * 8;
 }
 
-void nal_h264_read_start_code_prefix(struct rbsp *rbsp)
+static void nal_h264_read_start_code_prefix(struct rbsp *rbsp)
 {
 	u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8);
 	int i = 4;
@@ -466,7 +466,7 @@ void nal_h264_read_start_code_prefix(struct rbsp *rbsp)
 	rbsp->pos += i * 8;
 }
 
-void nal_h264_write_filler_data(struct rbsp *rbsp)
+static void nal_h264_write_filler_data(struct rbsp *rbsp)
 {
 	u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8);
 	int i;
@@ -477,7 +477,7 @@ void nal_h264_write_filler_data(struct rbsp *rbsp)
 	rbsp->pos += i * 8;
 }
 
-void nal_h264_read_filler_data(struct rbsp *rbsp)
+static void nal_h264_read_filler_data(struct rbsp *rbsp)
 {
 	u8 *p = rbsp->data + DIV_ROUND_UP(rbsp->pos, 8);
 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux