History

lavfi: use getter/setter functions for AVFrame.pkt_pos

Michael Niedermayer committed 14 years ago

Commit 59a78291 parent ea60a112 files · +3 −3Browse files

Showing the changes to libavfilter/buffer.c (1 of 2 files). Show all

Unified · Split

libavfilter/buffer.c+1−1
@@ -166,7 +166,7 @@ void avfilter_unref_bufferp(AVFilterBufferRef **ref) · 165 unmodified lines
166int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)166int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src)
167{167{
168 dst->pts = src->pts;168 dst->pts = src->pts;
169 dst->pos = src->pkt_pos;169 dst->pos = av_frame_get_pkt_pos(src);
170 dst->format = src->format;170 dst->format = src->format;
171 171
172 switch (dst->type) {172 switch (dst->type) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t