diff options
| author | 2025-06-23 17:49:11 -0400 | |
|---|---|---|
| committer | 2025-06-23 17:49:11 -0400 | |
| commit | e0fcbf0910b52a6e66eb733a2850ec58a53cf0e3 (patch) | |
| tree | a24ff2b9313263666d121536064e01436b480571 /env/nixpkgs-patches | |
| parent | e9475ce94ba69bd437d8cf0cf3f78062be928568 (diff) | |
| download | camu-e0fcbf0910b52a6e66eb733a2850ec58a53cf0e3.tar.gz camu-e0fcbf0910b52a6e66eb733a2850ec58a53cf0e3.tar.bz2 camu-e0fcbf0910b52a6e66eb733a2850ec58a53cf0e3.zip | |
Improve FFmpeg hwaccel fallback, VR emulation
- Optimize sink seeking with single video frame.
- Small cleanups.
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'env/nixpkgs-patches')
| -rw-r--r-- | env/nixpkgs-patches/libavcodec_mdec.c.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/env/nixpkgs-patches/libavcodec_mdec.c.patch b/env/nixpkgs-patches/libavcodec_mdec.c.patch new file mode 100644 index 0000000..f16aaeb --- /dev/null +++ b/env/nixpkgs-patches/libavcodec_mdec.c.patch @@ -0,0 +1,15 @@ +X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/e664f4465ab0f76adcf2452e85741ee468f507b7..36b402f80d0adc6b0687e014e3f51a00b72335eb:/libavcodec/mdec.c + +diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c +index 44b12471a9..c4904216b8 100644 +--- a/libavcodec/mdec.c ++++ b/libavcodec/mdec.c +@@ -68,7 +68,7 @@ static inline int mdec_decode_block_intra(MDECContext *a, int16_t *block, int n) + const int qscale = a->qscale; + + /* DC coefficient */ +- if (a->version == 2) { ++ if (a->version <= 2) { + block[0] = 2 * get_sbits(&a->gb, 10) + 1024; + } else { + component = (n <= 3 ? 0 : n - 4 + 1); |