OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59ff8f
)
avcodec/rawdec: use AVFrame accessor functions
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 21:25:09 +0000
(22:25 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Mar 2013 22:18:22 +0000
(23:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/rawdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/rawdec.c
b/libavcodec/rawdec.c
index
a8b70ee
..
f7143d7
100644
(file)
--- a/
libavcodec/rawdec.c
+++ b/
libavcodec/rawdec.c
@@
-183,8
+183,8
@@
static int raw_decode(AVCodecContext *avctx, void *data, int *got_frame,
frame->top_field_first = avctx->coded_frame->top_field_first;
frame->reordered_opaque = avctx->reordered_opaque;
frame->pkt_pts = avctx->pkt->pts;
-
frame->pkt_pos = avctx->pkt->pos
;
-
frame->pkt_duration = avctx->pkt->duration
;
+
av_frame_set_pkt_pos (frame, avctx->pkt->pos)
;
+
av_frame_set_pkt_duration(frame, avctx->pkt->duration)
;
if (context->tff >= 0) {
frame->interlaced_frame = 1;