Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
7b3b24a8
Commit
7b3b24a8
authored
May 16, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
parent
0ad26cdf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
audio.c
libavfilter/audio.c
+2
-0
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