Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
7b3b24a8
Commit
7b3b24a8
authored
May 16, 2012
by
Anton Khirnov
Browse files
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
parent
0ad26cdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
libavfilter/audio.c
libavfilter/audio.c
+2
-0
libavfilter/video.c
libavfilter/video.c
+2
-0
No files found.
libavfilter/audio.c
View file @
7b3b24a8
...
...
@@ -129,6 +129,8 @@ AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_arrays(uint8_t **data,
samplesref
->
extended_data
=
samplesref
->
data
;
}
samplesref
->
pts
=
AV_NOPTS_VALUE
;
return
samplesref
;
fail:
...
...
libavfilter/video.c
View file @
7b3b24a8
...
...
@@ -125,6 +125,8 @@ avfilter_get_video_buffer_ref_from_arrays(uint8_t *data[4], int linesize[4], int
pic
->
extended_data
=
pic
->
data
;
picref
->
extended_data
=
picref
->
data
;
picref
->
pts
=
AV_NOPTS_VALUE
;
return
picref
;
fail:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment