         private var _curVideoTag : FLVTag;
         /* ADIF tag inserted ? */
         private var _adifTagInserted : Boolean = false;
+        /* AVCC tag inserted ? */
+        private var _avccTagInserted : Boolean = false;
 
         public static function probe(data : ByteArray) : Boolean {
             var pos : uint = data.position;

                    ppsvect.push(pps);
                }
            }
            if (sps_found && pps_found) {
                var avcc : ByteArray = AVCC.getAVCC(sps, ppsvect);
                var avccTag : FLVTag = new FLVTag(FLVTag.AVC_HEADER, pes.pts, pes.dts, true);
                avccTag.push(avcc, 0, avcc.length);

                 * this will fix playback issues with some streams for which there is no IDR NAL unit in same PES packet
                 */
                _curVideoTag.keyframe = true;
                _avccTagInserted = true;
            }
        }

