gallium/radeon: print more information about textures
[mesa.git] / src / gallium / drivers / radeon / radeon_vce_40_2_2.c
index ede540d7ac842521bd2888f8ec16443f83bdc1f2..c00565904270a0a063e5736af2e0250b83367afa 100644 (file)
@@ -233,6 +233,9 @@ static void vui(struct rvce_encoder *enc)
 {
        int i;
 
+       if (!enc->pic.rate_ctrl.frame_rate_num)
+               return;
+
        RVCE_BEGIN(0x04000009); // vui
        RVCE_CS(0x00000000); //aspectRatioInfoPresentFlag
        RVCE_CS(0x00000000); //aspectRatioInfo.aspectRatioIdc
@@ -294,8 +297,8 @@ static void config(struct rvce_encoder *enc)
 
 static void encode(struct rvce_encoder *enc)
 {
+       signed luma_offset, chroma_offset;
        int i;
-       unsigned luma_offset, chroma_offset;
 
        enc->task_info(enc, 0x00000003, 0, 0, 0);