shithub: treason

Download patch

ref: 8c8e7fad46c62082cb46d0e394239259b9baa1a0
parent: ed1cdb97219e38a58059984894d1bed4556776af
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Sep 15 10:49:45 EDT 2020

h264: align width to 16 bytes

--- a/decoder_h264.c
+++ b/decoder_h264.c
@@ -66,6 +66,8 @@
 				w = h264bsdPicWidth(&a->c) * 16;
 				h = h264bsdPicHeight(&a->c) * 16;
 			}
+			if(w & 15)
+				w += 16 - (w & 15);
 			break;
 
 		case H264BSD_RDY: