Skip to content

Commit

Permalink
fix bug in clone for FilterPipeline DecodeParams in StreamDict object
Browse files Browse the repository at this point in the history
  • Loading branch information
sivukhin authored and hhrutter committed Jan 27, 2024
1 parent 12e046d commit 6e5acd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pdfcpu/types/streamdict.go
Expand Up @@ -71,7 +71,7 @@ func (sd StreamDict) Clone() Object {
for k, v := range sd.FilterPipeline {
f := PDFFilter{}
f.Name = v.Name
if f.DecodeParms != nil {
if v.DecodeParms != nil {
f.DecodeParms = v.DecodeParms.Clone().(Dict)
}
pl[k] = f
Expand Down

0 comments on commit 6e5acd7

Please sign in to comment.