libav: fixed minor memory leak when errors accurs.
libav: drop h264 packets when bitstream filter fails