Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-04-29 14:28:44 +0400
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-05-01 15:09:58 +0400
commit1ba57272429fc6c86e39cd236e2b32ac545e1488 (patch)
tree6e8e29bf5b9c71420943d28cb383246f7a357270 /ffplay.c
parentaba0278e9fe8e66c078588efe66f6af4db432770 (diff)
lavc: add a pkt_pos field to AVFrame
This is similar to what was done with pkt_pts. This simplifies the operation of extracting the pos information from the AVPacket, and allows further simplifications.
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 3cd3c3fdf7..35500d0625 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1687,7 +1687,7 @@ static int input_request_frame(AVFilterLink *link)
av_free_packet(&pkt);
picref->pts = pts;
- picref->pos = pkt.pos;
+ picref->pos = priv->frame->pkt_pos;
picref->video->pixel_aspect = priv->is->video_st->codec->sample_aspect_ratio;
avfilter_start_frame(link, picref);
avfilter_draw_slice(link, 0, link->h, 1);