Mercurial > libavformat.hg
changeset 2119:ae2e5f4cdc9a libavformat
remove now useless sync key
author | bcoudurier |
---|---|
date | Sun, 03 Jun 2007 17:20:35 +0000 |
parents | f311c244c2b6 |
children | 2f21921f9f1e |
files | mxf.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/mxf.c Sun Jun 03 17:19:15 2007 +0000 +++ b/mxf.c Sun Jun 03 17:20:35 2007 +0000 @@ -144,7 +144,6 @@ int packages_count; MXFMetadataSet **metadata_sets; int metadata_sets_count; - const uint8_t *sync_key; AVFormatContext *fc; struct AVAES *aesc; } MXFContext; @@ -332,7 +331,6 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt) { - MXFContext *mxf = s->priv_data; KLVPacket klv; while (!url_feof(&s->pb)) { @@ -343,7 +341,6 @@ #endif if (IS_KLV_KEY(klv.key, mxf_encrypted_triplet_key)) { int res = mxf_decrypt_triplet(s, pkt, &klv); - mxf->sync_key = mxf_encrypted_triplet_key; if (res < 0) { av_log(s, AV_LOG_ERROR, "invalid encoded triplet\n"); return -1; @@ -932,7 +929,6 @@ MXFContext *mxf = s->priv_data; KLVPacket klv; - mxf->sync_key = mxf_essence_element_key; if (!mxf_read_sync(&s->pb, mxf_header_partition_pack_key, 14)) { av_log(s, AV_LOG_ERROR, "could not find header partition pack key\n"); return -1;