Skip to content

Commit

Permalink
fix error of opencamera() (#345)
Browse files Browse the repository at this point in the history
Co-authored-by: hhaensel <[email protected]>
Co-authored-by: Ian Butterworth <[email protected]>
  • Loading branch information
3 people authored Mar 7, 2022
1 parent dfd9d32 commit 7d790a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avdictionary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end

Base.empty!(d::AVDict) = libffmpeg.av_dict_free(d.ref_ptr_dict)

Base.convert(::Type{Ref{Ptr{AVDictionary}}}, d::AVDict) = d.ref_ptr_dict
Base.cconvert(::Type{Ptr{Ptr{AVDictionary}}}, d::AVDict) = d.ref_ptr_dict

function setindex!(d::AVDict, value, key)
libffmpeg.av_dict_set(d.ref_ptr_dict, string(key), string(value), 0)
Expand Down

0 comments on commit 7d790a2

Please sign in to comment.