mirror of
https://github.com/zergon321/reisen.git
synced 2025-09-26 20:01:14 +08:00
Segmentation violation fixed.
This commit is contained in:
4
video.go
4
video.go
@@ -45,8 +45,8 @@ func (video *VideoStream) Height() int {
|
||||
// decoding with default parameters.
|
||||
func (video *VideoStream) Open() error {
|
||||
return video.OpenDecode(
|
||||
int(video.codecCtx.width),
|
||||
int(video.codecCtx.height),
|
||||
int(video.codecParams.width),
|
||||
int(video.codecParams.height),
|
||||
InterpolationBicubic)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user