                 var tagData : FLVData = new FLVData(tag, position, continuity);
                 switch(tag.type) {
                     case FLVTag.AAC_HEADER:
+                        _aacHeader = tagData;
                     case FLVTag.AAC_RAW:
                     case FLVTag.MP3_RAW:
                         _audioTags.push(tagData);
                         break;
                     case FLVTag.AVC_HEADER:
+                        _avcHeader = tagData;
                     case FLVTag.AVC_NALU:
                         _videoTags.push(tagData);
                         break;


        /* filter/tweak tags to seek accurately into the stream */
        private function seekFilterTags(tags : Vector.<FLVData>) : Vector.<FLVData> {
            var filteredTags : Vector.<FLVData>=  new Vector.<FLVData>();
            /* PTS of first tag that will be pushed into FLV tag buffer */
            var first_pts : Number;

                    }
                }
            }
            if (aacHeaderfound == false && _aacHeader != null) {
                _aacHeader.tag.pts = first_pts;
                filteredTags.unshift(_aacHeader);
            }
            if (avcHeaderfound == false && _avcHeader != null) {
                _avcHeader.tag.pts = first_pts;
                filteredTags.unshift(_avcHeader);
            }
            return filteredTags;
        }

