mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avformat/avisynth: add missing avs_release_video_frame
The AviSynth C API requires using avs_release_video_frame whenever avs_get_frame has been used, but the recent addition of frameprop reading to the demuxer was missing this in avisynth_create_stream_video. Signed-off-by: Stephen Hutchinson <qyot27@gmail.com>
This commit is contained in:
parent
c1b966a189
commit
f6a36c7cf9
@ -728,6 +728,7 @@ static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st)
|
||||
st->codecpar->chroma_location = AVCHROMA_LOC_UNSPECIFIED;
|
||||
}
|
||||
}
|
||||
avs_library.avs_release_video_frame(frame);
|
||||
} else {
|
||||
st->codecpar->field_order = AV_FIELD_UNKNOWN;
|
||||
/* AviSynth works with frame-based video, detecting field order can
|
||||
|
Loading…
Reference in New Issue
Block a user