Skip to content

Commit

Permalink
Merge branch 'master' into nz/write-stats-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 authored May 28, 2024
2 parents d0d35f5 + 7893d74 commit 645b35f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down
3 changes: 2 additions & 1 deletion src/transcode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ function transcode!(
Base.mightalias(input.data, output.data) && error(
"input and outbut buffers must be independent"
)
unsafe_transcode!(output, codec, input)
# GC.@preserve since unsafe_transcode! may convert to raw pointers
GC.@preserve input output codec unsafe_transcode!(output, codec, input)
end

"""
Expand Down

0 comments on commit 645b35f

Please sign in to comment.