summaryrefslogtreecommitdiff
path: root/libavformat/webm_chunk.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/webm_chunk.c')
-rw-r--r--libavformat/webm_chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index f4d0db83a4..24390e8e74 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -125,8 +125,8 @@ fail:
// This ensures that the timestamps will already be properly shifted
// when the packets arrive here, so we don't need to shift again.
s->avoid_negative_ts = oc->avoid_negative_ts;
- s->internal->avoid_negative_ts_use_pts =
- oc->internal->avoid_negative_ts_use_pts;
+ ffformatcontext(s)->avoid_negative_ts_use_pts =
+ ffformatcontext(oc)->avoid_negative_ts_use_pts;
oc->avoid_negative_ts = 0;
return 0;