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:
13dbf77
)
crystalhd: Keep NOPTS_VALUE so we know it's not there.
author
Philip Langdale
<philipl@overt.org>
Sat, 15 Oct 2016 19:44:32 +0000
(12:44 -0700)
committer
Philip Langdale
<philipl@overt.org>
Wed, 2 Nov 2016 20:47:57 +0000
(13:47 -0700)
libavcodec/crystalhd.c
patch
|
blob
|
history
diff --git
a/libavcodec/crystalhd.c
b/libavcodec/crystalhd.c
index
b68701a
..
4ac138c
100644
(file)
--- a/
libavcodec/crystalhd.c
+++ b/
libavcodec/crystalhd.c
@@
-848,8
+848,7
@@
static int crystalhd_decode_packet(AVCodecContext *avctx, const AVPacket *avpkt)
* avoiding mangling so we need to build a mapping to values
* we know will not be mangled.
*/
- int64_t safe_pts = avpkt->pts == AV_NOPTS_VALUE ? 0 : avpkt->pts;
- uint64_t pts = opaque_list_push(priv, safe_pts);
+ uint64_t pts = opaque_list_push(priv, avpkt->pts);
if (!pts) {
ret = AVERROR(ENOMEM);
goto exit;