Explicitly throw for odd video dimensions for AVC and HEVC (closes #142)

This commit is contained in:
Vanilagy
2025-09-22 15:37:31 +02:00
parent 6aee4e6a6a
commit f9a7735aae
4 changed files with 110 additions and 7 deletions
+2 -2
View File
@@ -33,8 +33,8 @@
"watch": "tsx scripts/bundle.ts --watch",
"lint": "eslint .",
"test-node": "cd test && vitest node --run",
"test-web": "cd test && vitest browser --run --browser",
"test": "npm run test-node && npm run test-web",
"test-browser": "cd test && vitest browser --run --browser",
"test": "npm run test-node && npm run test-browser",
"check": "tsc -p src --noEmit && tsc -p packages/mp3-encoder/src --noEmit && tsc -p scripts --noEmit && tsc -p tsconfig.vite.json --noEmit && rm tsconfig.vite.tsbuildinfo",
"check-docblocks": "tsx scripts/check-docblocks.ts dist/mediabunny.d.ts",
"docs:dev": "vitepress dev docs",