summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libvdpau/h264_parser.c2
-rw-r--r--src/libvdpau/vdpau_mpeg12.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libvdpau/h264_parser.c b/src/libvdpau/h264_parser.c
index d7e4940ae..6187ef8c0 100644
--- a/src/libvdpau/h264_parser.c
+++ b/src/libvdpau/h264_parser.c
@@ -967,7 +967,7 @@ void decode_ref_pic_marking(struct nal_unit *nal,
printf("FIXME: B Set frame %d to long-term ref\n", pic_num_x);
}
else {
- printf("memory_management_control_operation: 3 failed. No such picture.");
+ printf("memory_management_control_operation: 3 failed. No such picture.\n");
}
}
diff --git a/src/libvdpau/vdpau_mpeg12.c b/src/libvdpau/vdpau_mpeg12.c
index 4f9a692a5..c18b35510 100644
--- a/src/libvdpau/vdpau_mpeg12.c
+++ b/src/libvdpau/vdpau_mpeg12.c
@@ -441,7 +441,7 @@ static void picture_coding_extension( sequence_t *sequence, uint8_t *buf, int le
static void quant_matrix_extension( sequence_t *sequence, uint8_t *buf, int len )
{
- int i, j, off;
+ int i, j, off=0;
i = get_bits( buf,4,1 );
lprintf( "load_intra_quantizer_matrix: %d\n", i );