diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-22 08:15:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-22 08:15:47 +0400 |
commit | 0a84174f2d41757bcefdc87e9dfb26a7016ab62f (patch) | |
tree | 5240cc9afaf3d5901436133e9ca2a6fe87572fa4 /libavformat/isom.h | |
parent | b3ab2810277decc2c0bfbaa08414a432e4774f34 (diff) |
mov: prevent double free if the caller replaces the io context.
Fixes Ticket2148
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r-- | libavformat/isom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h index 0360c53f11..4154baf827 100644 --- a/libavformat/isom.h +++ b/libavformat/isom.h @@ -94,6 +94,7 @@ typedef struct MOVSbgp { typedef struct MOVStreamContext { AVIOContext *pb; + int pb_is_copied; int ffindex; ///< AVStream index int next_chunk; unsigned int chunk_count; |