mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 06:52:56 +02:00
* fpc is kept at -Np0 ```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
16 lines
606 B
Diff
16 lines
606 B
Diff
--- a/src/ppb_video_decoder.c.orig 2018-05-03 22:08:33.026677145 +0200
|
|
+++ b/src/ppb_video_decoder.c 2018-05-03 22:09:26.176206079 +0200
|
|
@@ -542,9 +542,9 @@
|
|
goto err;
|
|
}
|
|
|
|
- if (vd->avcodec->capabilities & CODEC_CAP_TRUNCATED) {
|
|
- trace_info("%s, codec have CODEC_CAP_TRUNCATED\n", __func__);
|
|
- vd->avctx->flags |= CODEC_FLAG_TRUNCATED;
|
|
+ if (vd->avcodec->capabilities & AV_CODEC_CAP_TRUNCATED) {
|
|
+ trace_info("%s, codec have AV_CODEC_CAP_TRUNCATED\n", __func__);
|
|
+ vd->avctx->flags |= AV_CODEC_FLAG_TRUNCATED;
|
|
}
|
|
|
|
vd->avctx->opaque = vd;
|
|
|